[IPV6]: make frag to return an error at initialization

This patch makes the frag_init to return an error code, so the af_inet6
module can handle the error.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Daniel Lezcano
2007-12-11 02:24:29 -08:00
committed by David S. Miller
parent 248b238dc9
commit 853cbbaaa4
3 changed files with 21 additions and 6 deletions

View File

@ -19,7 +19,8 @@ struct flowi;
/* extention headers */
extern int ipv6_exthdrs_init(void);
extern void ipv6_exthdrs_exit(void);
extern void ipv6_frag_init(void);
extern int ipv6_frag_init(void);
extern void ipv6_frag_exit(void);
/* transport protocols */
extern void rawv6_init(void);