diff options
author | Gao feng <gaofeng@cn.fujitsu.com> | 2012-06-21 04:36:43 +0000 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-06-27 19:05:05 +0200 |
commit | efa758fe2c2543f70b4dbda4421c8a352703e68e (patch) | |
tree | 8951a9d5453c97c0b57e589824daeb22dc6362c1 /fs/seq_file.c | |
parent | 12c26df35eae52f14cf573a1adb85cedaa273d2b (diff) |
netfilter: nf_ct_tcp: merge tcpv[4,6]_net_init into tcp_net_init
Merge tcpv4_net_init and tcpv6_net_init into tcp_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 'fs/seq_file.c')
0 files changed, 0 insertions, 0 deletions