[NETNS][IPV6]: Make ipv6_sysctl_register to return a value.
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Thu, 10 Jan 2008 10:47:55 +0000 (02:47 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:01:14 +0000 (15:01 -0800)
commit291480c09a9452a3d8852a9bfeb5ba2cbcfe662c
tree63c12518256759295e529d13787939b8ae17438b
parent50dd79653e295ce40da38c03bbfb5966aa1c1598
[NETNS][IPV6]: Make ipv6_sysctl_register to return a value.

This patch makes the function ipv6_sysctl_register to return a
value. The af_inet6 init function is now able to handle an error and
catch it from the initialization of the sysctl.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ipv6.h
net/ipv6/af_inet6.c
net/ipv6/sysctl_net_ipv6.c