diff options
author | Ian Coolidge <iancoolidge@gmail.com> | 2012-11-07 15:39:18 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-08 03:12:26 +0100 |
commit | 4fe5f079b499d7ff34fd49f4005f09018c4e80aa (patch) | |
tree | cba08a1fc3ce038f5eea1b72b9a252bdb49095e1 /drivers/iio | |
parent | cxgb4: Fix initialization of SGE_CONTROL register (diff) | |
download | linux-4fe5f079b499d7ff34fd49f4005f09018c4e80aa.tar.xz linux-4fe5f079b499d7ff34fd49f4005f09018c4e80aa.zip |
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>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions