[IPV6]: Make af_inet6 to check ip6_route_init return value.
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Fri, 7 Dec 2007 08:44:29 +0000 (00:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:56:47 +0000 (14:56 -0800)
commite2fddf5e96df4ac26f2e9ce63053d51cdf3cfe1e
tree283cf8f8c64fedd4d1565fc4210c2f29c154d00d
parent433d49c3bb14b8a2351fe97df8359e4ad0de4c7c
[IPV6]: Make af_inet6 to check ip6_route_init return value.

The af_inet6 initialization function does not check the return code of
the route initilization, so if something goes wrong, the protocol
initialization will continue anyway.  This patch takes into account
the modification made in the different route's initialization
subroutines to check the return value and to make the protocol
initialization to fail.

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>
net/ipv6/af_inet6.c