diff options
author | Linus Lüssing <linus.luessing@c0d3.blue> | 2016-08-07 12:34:18 +0200 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2016-10-30 11:11:34 +0100 |
commit | eb6915e2eb254fd83dc4472e22ebd6c54bf8ba47 (patch) | |
tree | 0928ccaa29def7300e79348283445b0f3424880f /net/batman-adv/main.h | |
parent | batman-adv: Remove unnecessary lockdep in batadv_mcast_mla_list_free (diff) | |
download | linux-eb6915e2eb254fd83dc4472e22ebd6c54bf8ba47.tar.xz linux-eb6915e2eb254fd83dc4472e22ebd6c54bf8ba47.zip |
batman-adv: Remove unused skb_reset_mac_header()
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.
Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/main.h')
0 files changed, 0 insertions, 0 deletions