[IPV6]: Make fib6_init to return an error code.

If there is an error in the initialization function, nothing is
followed up to the caller. So I add a return value to be set for the
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>
This commit is contained in:
Daniel Lezcano
2007-12-07 00:40:34 -08:00
committed by David S. Miller
parent 5a3e55d68e
commit d63bddbe90
2 changed files with 12 additions and 4 deletions

View File

@@ -224,7 +224,7 @@ extern void fib6_run_gc(unsigned long dummy);
extern void fib6_gc_cleanup(void);
extern void fib6_init(void);
extern int fib6_init(void);
extern void fib6_rules_init(void);
extern void fib6_rules_cleanup(void);