[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>
This commit is contained in:

committed by
David S. Miller

parent
0013cabab3
commit
9eb87f3f7e
@@ -226,7 +226,7 @@ extern void fib6_gc_cleanup(void);
|
||||
|
||||
extern int fib6_init(void);
|
||||
|
||||
extern void fib6_rules_init(void);
|
||||
extern int fib6_rules_init(void);
|
||||
extern void fib6_rules_cleanup(void);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user