diff options
author | 2017-12-04 19:19:18 +0100 | |
---|---|---|
committer | 2017-12-04 13:35:36 -0500 | |
commit | a3fde2addd5f0218b64102005a237ef727b0dc30 (patch) | |
tree | b6e0512543b626347841e96e8fba8b7cab64f8b4 /net/ipv6/addrconf.c | |
parent | Merge tag 'linux-can-next-for-4.16-20171201' of git://git.kernel.org/pub/scm/... (diff) | |
download | linux-a3fde2addd5f0218b64102005a237ef727b0dc30.tar.gz linux-a3fde2addd5f0218b64102005a237ef727b0dc30.tar.bz2 linux-a3fde2addd5f0218b64102005a237ef727b0dc30.zip |
rtnetlink: ipv6: convert remaining users to rtnl_register_module
convert remaining users of rtnl_register to rtnl_register_module
and un-export rtnl_register.
Requested-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r-- | net/ipv6/addrconf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index a5ad8425551a..ed06b1190f05 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c @@ -6627,7 +6627,9 @@ int __init addrconf_init(void) RTNL_FLAG_DOIT_UNLOCKED); if (err < 0) goto errout; - ipv6_addr_label_rtnl_register(); + err = ipv6_addr_label_rtnl_register(); + if (err < 0) + goto errout; return 0; errout: |