diff options
author | Gao feng <gaofeng@cn.fujitsu.com> | 2012-06-21 04:36:44 +0000 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-06-27 19:05:33 +0200 |
commit | dee7364e0e522f9cd90187c28dbb64889a17e191 (patch) | |
tree | 0b121e7709324d4d46534ead2d6ae31c88c307ef /net/netfilter/nf_conntrack_proto_udplite.c | |
parent | efa758fe2c2543f70b4dbda4421c8a352703e68e (diff) | |
download | linux-stable-dee7364e0e522f9cd90187c28dbb64889a17e191.tar.gz linux-stable-dee7364e0e522f9cd90187c28dbb64889a17e191.tar.bz2 linux-stable-dee7364e0e522f9cd90187c28dbb64889a17e191.zip |
netfilter: nf_ct_udp: merge udpv[4,6]_net_init into udp_net_init
Merge udpv4_net_init and udpv6_net_init into udp_net_init to
remove redundant code now that we have the u_int16_t proto
parameter.
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>
Diffstat (limited to 'net/netfilter/nf_conntrack_proto_udplite.c')
0 files changed, 0 insertions, 0 deletions