]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Reserve extra bytes in skb for better alignment
authorSven Eckelmann <sven@narfation.org>
Sun, 4 Nov 2012 16:11:45 +0000 (17:11 +0100)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 7 Nov 2012 19:00:16 +0000 (20:00 +0100)
commit28b085f4361ab5ee0e95587751211e21df52ef0a
tree7bc67e708ef2aee632de51020d7ba0d8c55a0883
parent933441541643f39dae709e9a03d32bc4b265f6ec
batman-adv: Reserve extra bytes in skb for better alignment

The ethernet header is 14 bytes long. Therefore, the data after it is not 4
byte aligned and may cause problems on systems without unaligned data access.
Reserving NET_IP_ALIGN more byes can fix the misalignment of the ethernet
header.

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>
net/batman-adv/bat_iv_ogm.c
net/batman-adv/icmp_socket.c
net/batman-adv/translation-table.c
net/batman-adv/vis.c