summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/unicast.h
diff options
context:
space:
mode:
authorSven Eckelmann2012-11-05 21:25:26 +0100
committerAntonio Quartulli2012-11-07 20:00:17 +0100
commitf6c57a460913f3c83b0e8eb51f4021fcf1c83cdc (patch)
tree052488fe9d8be43336a99837f7d380f083e52437 /net/batman-adv/unicast.h
parentbatman-adv: Reserve extra bytes in skb for better alignment (diff)
downloadkernel-qcow2-linux-f6c57a460913f3c83b0e8eb51f4021fcf1c83cdc.tar.gz
kernel-qcow2-linux-f6c57a460913f3c83b0e8eb51f4021fcf1c83cdc.tar.xz
kernel-qcow2-linux-f6c57a460913f3c83b0e8eb51f4021fcf1c83cdc.zip
batman-adv: Mark correctly aligned headers not as __packed
Headers which are already perfectly aligned and create a 4 byte boundary non-ethernet header payload can have the __packed attribute removed. The __packed attribute doesn't change the appeareance of the packet for these headers because no extra padding is necessary to align the data members. The compiler will also create slightly faster code for loads of multi-byte members. Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/unicast.h')
0 files changed, 0 insertions, 0 deletions