rtnetlink: remove __rtnl_register
authorFlorian Westphal <fw@strlen.de>
Sat, 2 Dec 2017 20:44:08 +0000 (21:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Dec 2017 16:32:53 +0000 (11:32 -0500)
commit16feebcf2350aa369001a529f50ce33f2472c01c
treedadfbed703d39870e77cd6625453c5c8126f9962
parentc1c502b511503ee5de55382744859b622411f32b
rtnetlink: remove __rtnl_register

This removes __rtnl_register and switches callers to either
rtnl_register or rtnl_register_module.

Also, rtnl_register() will now print an error if memory allocation
failed rather than panic the kernel.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/rtnetlink.h
net/core/rtnetlink.c
net/ipv6/addrconf.c
net/ipv6/addrlabel.c
net/ipv6/ip6_fib.c
net/ipv6/route.c