[IPV6]: make extended headers to return an error at initialization
This patch factorize the code for the differents init functions for rthdr, nodata, destopt in a single function exthdrs_init. This function returns an error so the af_inet6 module can check correctly the initialization. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
0a3e78ac2c
commit
248b238dc9
@@ -17,10 +17,9 @@ extern struct proto tcpv6_prot;
|
||||
struct flowi;
|
||||
|
||||
/* extention headers */
|
||||
extern void ipv6_rthdr_init(void);
|
||||
extern int ipv6_exthdrs_init(void);
|
||||
extern void ipv6_exthdrs_exit(void);
|
||||
extern void ipv6_frag_init(void);
|
||||
extern void ipv6_nodata_init(void);
|
||||
extern void ipv6_destopt_init(void);
|
||||
|
||||
/* transport protocols */
|
||||
extern void rawv6_init(void);
|
||||
|
Reference in New Issue
Block a user