diff options
author | Ian Coolidge <iancoolidge@gmail.com> | 2012-11-06 21:00:10 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-11-08 14:04:50 (GMT) |
commit | 23834e533184bd2185bce500c789f86b3668739b (patch) | |
tree | 149f705a0ce8460e24b247e8f9e4359dc6cf2e63 /drivers/usb/renesas_usbhs/mod_host.c | |
parent | be44f1c80b998b00cfa1759f4ba88f6497810963 (diff) | |
download | linux-23834e533184bd2185bce500c789f86b3668739b.tar.xz |
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 <iancoolidge@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/renesas_usbhs/mod_host.c')
0 files changed, 0 insertions, 0 deletions