[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)
commita051a8f7306476af0a74370ad56e793cb6c43bf7
tree3dc8bc67e6c16a28a0161ed7f7fb55008da3d7d5
parentd4875b049b2e6401a6e1fae90b7f09e20a636fcf
[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