commit | 8710e2613a4819aac44f4aed7e29027ac3eeb683 | [log] [tgz] |
---|---|---|
author | Antonio Quartulli <ordex@autistici.org> | Fri Mar 16 11:52:31 2012 +0100 |
committer | Antonio Quartulli <ordex@autistici.org> | Sun May 13 18:24:37 2012 +0200 |
tree | 52a61a7ad228152e6c62111b6472b51bbecaf90c | |
parent | f96a8a0b78548c0ec06b0b4b438db6ee895d67e9 [diff] |
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>