From: Ian Coolidge Date: Tue, 6 Nov 2012 21:00:10 +0000 (-0800) Subject: usb: gadget: g_ether: fix frame size check X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~82^2~59^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23834e533184bd2185bce500c789f86b3668739b;p=pandora-kernel.git usb: gadget: g_ether: fix frame size check Checking skb->len against ETH_FRAME_LEN assumes a 1514 ethernet frame size. With an 802.1Q VLAN header, ethernet frame length can now be 1518. Validate frame length against that. Signed-off-by: Ian Coolidge Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed