diff options
| author | 2012-06-21 04:36:41 +0000 | |
|---|---|---|
| committer | 2012-06-27 18:46:00 +0200 | |
| commit | fa34fff5e69cc56eecf26754c9b57403899ebd0d (patch) | |
| tree | 9d6500f577616a9a44081fe271ee94c6d5b566d3 /tools/lib/python/kdoc/python_version.py | |
| parent | netfilter: nf_conntrack: add nf_ct_kfree_compat_sysctl_table (diff) | |
netfilter: nf_conntrack: use l4proto->users as refcount for per-net data
Currently, nf_proto_net's l4proto->users meaning is quite confusing
since it depends on the compilation tweaks.
To resolve this, we cleanup this code to regard it as the refcount
for l4proto's per-net data, since there may be two l4protos use the
same per-net data.
Thus, we increment pn->users when nf_conntrack_l4proto_register
successfully, and decrement it for nf_conntrack_l4_unregister case.
The users refcnt is not required form layer 3 protocol trackers.
Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
