]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: ctnetlink: simplify the code to dump the conntrack table
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 20 Sep 2006 19:00:45 +0000 (12:00 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:19:52 +0000 (15:19 -0700)
commit6e1880fadf6e2fa2f00bd5cf167e803bafaf5938
tree7a3f6d3bc775298bdc4b29749c34f18ffd379ee9
parentc2708cfbb010b72d1d07af42d4e6507a913e9f43
[NETFILTER]: ctnetlink: simplify the code to dump the conntrack table

Merge the bits to dump the conntrack table and the ones to dump and
zero counters in a single piece of code. This patch does not change
the default behaviour if accounting is not enabled.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_conntrack_netlink.c
net/netfilter/nf_conntrack_netlink.c