tipc: split UDP nl address parsing
authorRichard Alpe <richard.alpe@ericsson.com>
Fri, 26 Aug 2016 08:52:50 +0000 (10:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Aug 2016 04:38:40 +0000 (21:38 -0700)
commitba5aa84a2d2243d56328e51497a6106dcdf67eef
treefbc7f88041286bb45b8f6d82955cf5776299e8ce
parentf01d5988639bc7f8c525d16d5d84562755d3c0ca
tipc: split UDP nl address parsing

Split the UDP netlink parse function so that it only parses one
netlink attribute at the time. This makes the parse function more
generic and allow future UDP API functions to use it for parsing.

Signed-off-by: Richard Alpe <richard.alpe@ericsson.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/udp_media.c