]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: Use only 32bit counters for CONNTRACK_ACCT
authorHarald Welte <laforge@netfilter.org>
Tue, 11 Oct 2005 04:21:10 +0000 (21:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Oct 2005 04:21:10 +0000 (21:21 -0700)
commitc2369a91098a1ee85bab402c8b0dde488ba10701
tree3dc8bc67e6c16a28a0161ed7f7fb55008da3d7d5
parent277394b7c9b7303a4f7e8e41fda7db1781c4a5a5
[NETFILTER]: Use only 32bit counters for CONNTRACK_ACCT

Initially we used 64bit counters for conntrack-based accounting, since we
had no event mechanism to tell userspace that our counters are about to
overflow.  With nfnetlink_conntrack, we now have such a event mechanism and
thus can save 16bytes per connection.

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter/nfnetlink_conntrack.h
include/linux/netfilter_ipv4/ip_conntrack.h
net/ipv4/netfilter/ip_conntrack_core.c
net/ipv4/netfilter/ip_conntrack_netlink.c