Skip to content
Snippets Groups Projects
user avatar
Antonio Quartulli authored
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: default avatarLinus Lüssing <linus.luessing@web.de>
Signed-off-by: default avatarAntonio Quartulli <antonio@meshcoding.com>
70b271a7
History
Name Last commit Last update