]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commit01f348484dd8509254d045e3ad49029716eca6a1
tree7a3f6d3bc775298bdc4b29749c34f18ffd379ee9
parent90d47db4a06f93f7339618b2a4f0cb032ef8d6d5
[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