]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
netfilter: nf_conntrack: refactor l3proto support for netns
authorGao feng <gaofeng@cn.fujitsu.com>
Mon, 21 Jan 2013 22:10:33 +0000 (22:10 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 23 Jan 2013 13:39:20 +0000 (14:39 +0100)
commit6330750d566d764ce4916d8fe2bcdcad28fc7a42
treeed0aaaabedb35628bf9ef5a4a459a1c52773714b
parent04d870017908f40bbb1c51910acc030ae4979db4
netfilter: nf_conntrack: refactor l3proto support for netns

Move the code that register/unregister l3proto 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_l3proto_register
nf_ct_l3proto_pernet_register
nf_ct_l3proto_unregister
nf_ct_l3proto_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_l3proto.h
net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c
net/netfilter/nf_conntrack_proto.c