mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
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: Antonio Quartulli <ordex@autistici.org>
This commit is contained in:
parent
f96a8a0b78
commit
8710e2613a
1 changed files with 3 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue