]> Git Repo - linux.git/commit - net/batman-adv/routing.c
batman-adv: update data pointers after skb_cow()
authorMatthias Schiffer <[email protected]>
Fri, 16 Mar 2018 10:29:09 +0000 (11:29 +0100)
committerSimon Wunderlich <[email protected]>
Fri, 16 Mar 2018 19:23:38 +0000 (20:23 +0100)
commitbc44b78157f621ff2a2618fe287a827bcb094ac4
treed723d07907cfe6a42ebcf512f651e9a49def32ca
parent74c12c630fe310eb7fcae1b292257d47781fff0a
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 <[email protected]>
Signed-off-by: Sven Eckelmann <[email protected]>
Signed-off-by: Simon Wunderlich <[email protected]>
net/batman-adv/routing.c
This page took 0.051779 seconds and 4 git commands to generate.