]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit29d4bb7b12bb1b1e632be70ca382cf3de7b28fdf
treefbc7f88041286bb45b8f6d82955cf5776299e8ce
parent622a2274f5dbeb727a4272497f68c8337264503c
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