[NETFILTER]: nf_conntrack_{tcp,sctp}: shrink state table
authorPatrick McHardy <kaber@trash.net>
Tue, 15 Jan 2008 07:45:11 +0000 (23:45 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:02:32 +0000 (15:02 -0800)
The TCP and SCTP conntrack state transition tables only holds
small numbers, but gcc uses 4 byte per entry for the enum. Switching
to an u8 reduces the size from 480 to 120 bytes for TCP and from
576 to 144 bytes for SCTP.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found