[IPV6]: Make fib6_rules_init to return an error code.
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Fri, 7 Dec 2007 08:42:52 +0000 (00:42 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:56:46 +0000 (14:56 -0800)
commit9eb87f3f7e0686a256c5bb4f886dede0171245f2
tree64ca735755b0c5a70eec1cfda0a3ebef5a31c419
parent0013cabab30ec55830ce63d34c0bdd887eb87644
[IPV6]: Make fib6_rules_init to return an error code.

When the fib_rules initialization finished, no return code is provided
so there is no way to know, for the caller, if the initialization has
been successful or has failed. This patch fix that.

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>
include/net/fib_rules.h
include/net/ip6_fib.h
net/core/fib_rules.c
net/ipv6/fib6_rules.c