]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter 09/09: remove padding from struct xt_match on 64bit builds
authorRichard Kennedy <richard@rsk.demon.co.uk>
Mon, 12 Jan 2009 00:06:11 +0000 (00:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Jan 2009 05:18:37 +0000 (21:18 -0800)
commit9b4c1c598f7f294c30f08ea8ee20ae0263b0d1f4
tree162e08a88b7d40a13c13d0617cb2b48f2bf11994
parent8e3de0bc4c48d10514a0e690835cc9a59a72e9af
netfilter 09/09: remove padding from struct xt_match on 64bit builds

reorder struct xt_match to remove 8 bytes of padding and make its size
128 bytes.

This saves a small amount of data space in each of the xt netfilter
modules and fits xt_match in one 128 byte cache line.

Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter/x_tables.h