]> git.karo-electronics.de Git - karo-tx-linux.git/commit
netfilter: nf_conntrack: refactor l4proto support for netns
authorGao feng <gaofeng@cn.fujitsu.com>
Wed, 23 Jan 2013 11:51:10 +0000 (12:51 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 23 Jan 2013 13:40:53 +0000 (14:40 +0100)
commitc296bb4d5d417d466c9bcc8afef68a3db5449a64
tree1dbf5d626c82609b9267b392c9b80e767053959b
parent6330750d566d764ce4916d8fe2bcdcad28fc7a42
netfilter: nf_conntrack: refactor l4proto support for netns

Move the code that register/unregister l4proto to the
module_init/exit context.

Given that we have to modify some interfaces to accomodate
these changes, it is a good time to use shorter function names
for this using the nf_ct_* prefix instead of nf_conntrack_*,
that is:

nf_ct_l4proto_register
nf_ct_l4proto_pernet_register
nf_ct_l4proto_unregister
nf_ct_l4proto_pernet_unregister

We same many line breaks with it.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_conntrack_l4proto.h
net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c
net/netfilter/nf_conntrack_proto.c
net/netfilter/nf_conntrack_proto_dccp.c
net/netfilter/nf_conntrack_proto_gre.c
net/netfilter/nf_conntrack_proto_sctp.c
net/netfilter/nf_conntrack_proto_udplite.c