]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit14b593d6440fac5e7c79e3c11dd97f23c92d3026
tree52a61a7ad228152e6c62111b6472b51bbecaf90c
parentfd3ca20c0d42a1e65c7d097257b0f777a49a0db3
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>
net/batman-adv/routing.c