On Tue, Apr 02, 2013 at 01:59:35PM +0200, Antonio Quartulli wrote:
From: Antonio Quartulli antonio@open-mesh.com
every batman-adv encapsulated packet is supposed to begin with an Ethernet header plus 2 bytes for correct alignment on 4 bytes boundary.
However, even if allocations are made correctly, the final encapsulation is not made properly since the encapsulating function does not push NET_IP_ALIGN bytes other than ETH_HLEN.
Fix it by pushing the correct amount of bytes.
Introduced by 7f91790974c258e71a62f6dee8cb1dbe5dff36c3 ("batman-adv: Reserve extra bytes in skb for better alignment")
Signed-off-by: Antonio Quartulli antonio@open-mesh.com
This patch can be dropped. We don't want to send those two extra bytes, we use them only for local memory alignment.
Sorry about that.
Cheers,