Ian Coolidge 4fe5f079b4 usb: gadget: g_ether: fix frame size check for 802.1Q
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 <iancoolidge@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-11-07 21:12:26 -05:00
..
2012-09-16 20:42:46 -07:00
2012-09-05 15:39:41 +03:00
2012-09-16 20:42:46 -07:00
2012-05-22 15:50:46 -07:00
2012-09-20 19:57:38 -07:00
2012-07-29 21:24:21 +04:00