summaryrefslogtreecommitdiffstats
path: root/lib/strncpy_from_user.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2018-03-16 11:29:09 +0100
committerSimon Wunderlich <sw@simonwunderlich.de>2018-03-16 20:23:38 +0100
commitbc44b78157f621ff2a2618fe287a827bcb094ac4 (patch)
treed723d07907cfe6a42ebcf512f651e9a49def32ca /lib/strncpy_from_user.c
parent74c12c630fe310eb7fcae1b292257d47781fff0a (diff)
downloadlinux-bc44b78157f621ff2a2618fe287a827bcb094ac4.tar.bz2
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>
Diffstat (limited to 'lib/strncpy_from_user.c')
0 files changed, 0 insertions, 0 deletions