commit | b8fcfa42e4ec5d55d4cccd5c728415e8bca0539d | [log] [tgz] |
---|---|---|
author | Antonio Quartulli <ordex@autistici.org> | Sun Aug 26 23:25:59 2012 +0200 |
committer | Antonio Quartulli <ordex@autistici.org> | Mon Oct 29 09:42:45 2012 +0100 |
tree | e4ebbf1372f4841b98b05276550db37b38f0abf7 | |
parent | 60c39c7584e1bb69cdce4e0a9ee1e78ba09c82b9 [diff] |
batman-adv: check for more space before accessing the skb In batadv_check_unicast_ttvn() the code accesses both the unicast header and the Ethernet header in the payload. For this reason pskb_may_pull() must be invoked to check for the required space. Signed-off-by: Antonio Quartulli <ordex@autistici.org>