[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>
Showing
- include/net/netfilter/nf_conntrack_l3proto.h 1 addition, 1 deletioninclude/net/netfilter/nf_conntrack_l3proto.h
- include/net/netfilter/nf_conntrack_l4proto.h 1 addition, 1 deletioninclude/net/netfilter/nf_conntrack_l4proto.h
- net/netfilter/nf_conntrack_core.c 1 addition, 1 deletionnet/netfilter/nf_conntrack_core.c
- net/netfilter/nf_conntrack_proto.c 49 additions, 6 deletionsnet/netfilter/nf_conntrack_proto.c
Please register or sign in to comment