diff options
author | Martin Josefsson | 2006-11-29 02:35:08 +0100 |
---|---|---|
committer | David S. Miller | 2006-12-03 06:31:10 +0100 |
commit | ae5718fb3dd0a11a4c9a061bf86417d52d58a6b3 (patch) | |
tree | 18d070424f6d2d74ee785c24d8f90744d61d3978 /include/net/netfilter/nf_conntrack_l4proto.h | |
parent | [NETFILTER]: nf_conntrack: rename struct nf_conntrack_protocol (diff) | |
download | kernel-qcow2-linux-ae5718fb3dd0a11a4c9a061bf86417d52d58a6b3.tar.gz kernel-qcow2-linux-ae5718fb3dd0a11a4c9a061bf86417d52d58a6b3.tar.xz kernel-qcow2-linux-ae5718fb3dd0a11a4c9a061bf86417d52d58a6b3.zip |
[NETFILTER]: nf_conntrack: more sanity checks in protocol registration/unregistration
Add some more sanity checks when registering/unregistering l3/l4 protocols.
Signed-off-by: Martin Josefsson <gandalf@wlug.westbo.se>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/net/netfilter/nf_conntrack_l4proto.h')
-rw-r--r-- | include/net/netfilter/nf_conntrack_l4proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netfilter/nf_conntrack_l4proto.h b/include/net/netfilter/nf_conntrack_l4proto.h index 0c6babd54396..5193e4857b1b 100644 --- a/include/net/netfilter/nf_conntrack_l4proto.h +++ b/include/net/netfilter/nf_conntrack_l4proto.h @@ -102,7 +102,7 @@ extern void nf_ct_l4proto_put(struct nf_conntrack_l4proto *p); /* Protocol registration. */ extern int nf_conntrack_l4proto_register(struct nf_conntrack_l4proto *proto); -extern void nf_conntrack_l4proto_unregister(struct nf_conntrack_l4proto *proto); +extern int nf_conntrack_l4proto_unregister(struct nf_conntrack_l4proto *proto); /* Generic netlink helpers */ extern int nf_ct_port_tuple_to_nfattr(struct sk_buff *skb, |