aboutsummaryrefslogtreecommitdiff
path: root/net/ipv6/af_inet6.c
diff options
context:
space:
mode:
authorGravatar Daniel Lezcano <dlezcano@fr.ibm.com> 2007-12-07 00:43:48 -0800
committerGravatar David S. Miller <davem@davemloft.net> 2008-01-28 14:56:47 -0800
commit433d49c3bb14b8a2351fe97df8359e4ad0de4c7c (patch)
tree76f478e8eca70520b809dc9d5684b47d3eb615f2 /net/ipv6/af_inet6.c
parent[IPV6]: Make fib6_rules_init to return an error code. (diff)
downloadlinux-433d49c3bb14b8a2351fe97df8359e4ad0de4c7c.tar.gz
linux-433d49c3bb14b8a2351fe97df8359e4ad0de4c7c.tar.bz2
linux-433d49c3bb14b8a2351fe97df8359e4ad0de4c7c.zip
[IPV6]: Make ip6_route_init to return an error code.
The route initialization function does not return any value to notify if the initialization is successful or not. This patch checks all calls made for the initilization in order to return a value for the caller. Unfortunately, proc_net_fops_create will return a NULL pointer if CONFIG_PROC_FS is off, so we can not check the return code without an ifdef CONFIG_PROC_FS block in the ip6_route_init function. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> Acked-by: Benjamin Thery <benjamin.thery@bull.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/af_inet6.c')
0 files changed, 0 insertions, 0 deletions