On Sonntag, 7. August 2016 12:34:18 CEST Linus Lüssing wrote:
During broadcast queueing, the skb_reset_mac_header() sets the skb to a place invalid for a MAC header, pointing right into the batman-adv broadcast packet. Luckily, no one seems to actually use eth_hdr(skb) afterwards until batadv_send_skb_packet() resets the header to a valid position again.
Therefore removing this unnecessary, weird skb_reset_mac_header() call.
Reviewed-by: Sven Eckelmann sven@narfation.org Signed-off-by: Linus Lüssing linus.luessing@c0d3.blue
Changes in v2-v5:
- none
net/batman-adv/send.c | 2 -- 1 file changed, 2 deletions(-)
Applied in 3d34c0a675b20cf6dd2b8680188f1ebd399c3589 [1].
Kind regards, Sven
[1] https://git.open-mesh.org/batman-adv.git/commit/3d34c0a675b20cf6dd2b8680188f...