From: Antonio Quartulli Date: Sun, 26 Aug 2012 21:25:59 +0000 (+0200) Subject: batman-adv: check for more space before accessing the skb X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~536^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8fcfa42e4ec5d55d4cccd5c728415e8bca0539d;p=pandora-kernel.git 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 --- Reading git-diff-tree failed