summaryrefslogtreecommitdiffstats
path: root/net/mac80211/michael.c
diff options
context:
space:
mode:
authorAntonio Quartulli <antonio@meshcoding.com>2014-02-15 21:50:37 +0100
committerAntonio Quartulli <antonio@meshcoding.com>2014-02-17 17:17:02 +0100
commit70b271a78beba787155d6696aacd7c4d4a251c50 (patch)
treebb8f4e8e8f9833d993b8f09638a063d6290f5281 /net/mac80211/michael.c
parenta5a5cb8cab526af2f6cbe9715f8ca843192f0d81 (diff)
downloadlinux-stable-70b271a78beba787155d6696aacd7c4d4a251c50.tar.gz
linux-stable-70b271a78beba787155d6696aacd7c4d4a251c50.tar.bz2
linux-stable-70b271a78beba787155d6696aacd7c4d4a251c50.zip
batman-adv: fix potential kernel paging error for unicast transmissions
batadv_send_skb_prepare_unicast(_4addr) might reallocate the skb's data. If it does then our ethhdr pointer is not valid anymore in batadv_send_skb_unicast(), resulting in a kernel paging error. Fixing this by refetching the ethhdr pointer after the potential reallocation. Signed-off-by: Linus Lüssing <linus.luessing@web.de> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Diffstat (limited to 'net/mac80211/michael.c')
0 files changed, 0 insertions, 0 deletions