[NETFILTER] NAT sequence adjustment: Save eight bytes per conntrack
authorHarald Welte <laforge@netfilter.org>
Tue, 21 Mar 2006 01:14:12 +0000 (17:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 01:14:12 +0000 (17:14 -0800)
commit5ee956125a780baf15f2c1d09f2cbf8adcf598fe
tree195cfcef58dbd87c1cad337be08e69a8977d9224
parent39d8c1b6fbaeb8d6adec4a8c08365cc9eaca6ae4
[NETFILTER] NAT sequence adjustment: Save eight bytes per conntrack

This patch reduces the size of 'struct ip_conntrack' on systems with NAT
by eight bytes.  The sequence number delta values can be int16_t, since
we only support one sequence number modification per window anyway, and
one such modification is not going to exceed 32kB ;)

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter_ipv4/ip_nat.h