Skip to content
Commit b8fcfa42 authored by Antonio Quartulli's avatar Antonio Quartulli
Browse files

batman-adv: check for more space before accessing the skb



In batadv_check_unicast_ttvn() the code accesses both the unicast header and the
Ethernet header in the payload. For this reason pskb_may_pull() must be invoked
to check for the required space.

Signed-off-by: default avatarAntonio Quartulli <ordex@autistici.org>
parent 60c39c75
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment