]> asedeno.scripts.mit.edu Git - linux.git/commit
netfilter: nf_ct_udplite: add udplite_kmemdup_sysctl_table function
authorGao feng <gaofeng@cn.fujitsu.com>
Thu, 21 Jun 2012 04:36:45 +0000 (04:36 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 27 Jun 2012 17:12:52 +0000 (19:12 +0200)
commit51b4c824fcd15b73931fdd945cc101b9d4791b17
tree7082a10c0e766076902c10964b57154d3cbae695
parentdee7364e0e522f9cd90187c28dbb64889a17e191
netfilter: nf_ct_udplite: add udplite_kmemdup_sysctl_table function

This cleans up nf_conntrack_l4proto_udplite[4,6] and it prepares
the moving of the sysctl code to nf_conntrack_proto_*_sysctl.c
to reduce the ifdef pollution.

And use nf_proto_net.users to identify if it's the first time
we use the nf_proto_net, in that case, we initialize it.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_proto_udplite.c