summaryrefslogtreecommitdiff
path: root/net/batman-adv/unicast.c
diff options
context:
space:
mode:
authorAntonio Quartulli <ordex@autistici.org>2012-03-16 14:52:31 +0400
committerAntonio Quartulli <ordex@autistici.org>2012-05-13 20:24:37 +0400
commit8710e2613a4819aac44f4aed7e29027ac3eeb683 (patch)
tree52a61a7ad228152e6c62111b6472b51bbecaf90c /net/batman-adv/unicast.c
parentf96a8a0b78548c0ec06b0b4b438db6ee895d67e9 (diff)
downloadlinux-8710e2613a4819aac44f4aed7e29027ac3eeb683.tar.xz
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>
Diffstat (limited to 'net/batman-adv/unicast.c')
0 files changed, 0 insertions, 0 deletions