diff options
author | Daniel Lezcano <dlezcano@fr.ibm.com> | 2007-12-11 02:24:29 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 14:57:11 -0800 |
commit | 853cbbaaa4ccdf221be5ab6afe967aa9998546b7 (patch) | |
tree | 6b6ff0b340fcff4054c919092fbbadce82dff36c /include/net/transp_v6.h | |
parent | 248b238dc960a42aa235057ba0a51a98ae2b0f0d (diff) | |
download | linux-853cbbaaa4ccdf221be5ab6afe967aa9998546b7.tar.gz linux-853cbbaaa4ccdf221be5ab6afe967aa9998546b7.tar.bz2 linux-853cbbaaa4ccdf221be5ab6afe967aa9998546b7.zip |
[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>
Diffstat (limited to 'include/net/transp_v6.h')
-rw-r--r-- | include/net/transp_v6.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/transp_v6.h b/include/net/transp_v6.h index 610b1bb775c9..aa9a4a6b99df 100644 --- a/include/net/transp_v6.h +++ b/include/net/transp_v6.h @@ -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); |