From: David S. Miller Date: Tue, 12 Apr 2011 01:59:05 +0000 (-0700) Subject: llc: Fix length check in llc_fixup_skb(). X-Git-Tag: v2.6.39-rc5~40^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa8673599f1d269b4e4d9b0c0f61fca57bc02699;p=pandora-kernel.git llc: Fix length check in llc_fixup_skb(). Fixes bugzilla #32872 The LLC stack pretends to support non-linear skbs but there is a direct use of skb_tail_pointer() in llc_fixup_skb(). Use pskb_may_pull() to see if data_size bytes remain and can be accessed linearly in the packet, instead of direct pointer checks. Signed-off-by: David S. Miller --- Reading git-diff-tree failed