diff options
author | Martin Josefsson <gandalf@wlug.westbo.se> | 2006-11-29 02:35:08 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-02 21:31:10 -0800 |
commit | ae5718fb3dd0a11a4c9a061bf86417d52d58a6b3 (patch) | |
tree | 18d070424f6d2d74ee785c24d8f90744d61d3978 /include/net/netfilter/nf_conntrack_l4proto.h | |
parent | 605dcad6c85226e6d43387917b329d65b95cef39 (diff) | |
download | kernel_samsung_smdk4412-ae5718fb3dd0a11a4c9a061bf86417d52d58a6b3.zip kernel_samsung_smdk4412-ae5718fb3dd0a11a4c9a061bf86417d52d58a6b3.tar.gz kernel_samsung_smdk4412-ae5718fb3dd0a11a4c9a061bf86417d52d58a6b3.tar.bz2 |
[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 0c6babd..5193e48 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, |