batman-adv: avoid skb_linearise() if not needed
authorAntonio Quartulli <ordex@autistici.org>
Fri, 16 Mar 2012 10:52:31 +0000 (11:52 +0100)
committerAntonio Quartulli <ordex@autistici.org>
Sun, 13 May 2012 16:24:37 +0000 (18:24 +0200)
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>

No differences found