]> bbs.cooldavid.org Git - net-next-2.6.git/commit - include/linux/skbuff.h
[NET]: Reduce size of sk_buff by 4 bytes
authorThomas Graf <tgraf@suug.ch>
Tue, 5 Jul 2005 21:13:41 +0000 (14:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2005 21:13:41 +0000 (14:13 -0700)
commit1cbb3380ef683f742876f48e3739b3df4ea9e168
treef1c65a6325068ea7baeec716adea5176cdbe6f20
parente176fe8954a5239c24afe79b1001ba3c29511963
[NET]: Reduce size of sk_buff by 4 bytes

Reduce local_df to a bit field and ip_summed to a 2 bits
field thus saving 13 bits. Move bit fields, packet type,
and protocol into the spare area between the priority
and the destructor. Saves 4 bytes on both, 32bit and
64bit architectures.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h