commit | bc44b78157f621ff2a2618fe287a827bcb094ac4 | [log] [tgz] |
---|---|---|
author | Matthias Schiffer <mschiffer@universe-factory.net> | Fri Mar 16 11:29:09 2018 +0100 |
committer | Simon Wunderlich <sw@simonwunderlich.de> | Fri Mar 16 20:23:38 2018 +0100 |
tree | d723d07907cfe6a42ebcf512f651e9a49def32ca | |
parent | 74c12c630fe310eb7fcae1b292257d47781fff0a [diff] |
batman-adv: update data pointers after skb_cow() batadv_check_unicast_ttvn() calls skb_cow(), so pointers into the SKB data must be (re)set after calling it. The ethhdr variable is dropped altogether. Fixes: 7cdcf6dddc42 ("batman-adv: add UNICAST_4ADDR packet type") Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>