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

batman-adv: avoid skb_linearise() if not needed



Whenever we want to access headers only, we do not need to linearise the whole
packet. Instead we can use pskb_may_pull()

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