aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorIan Coolidge <[email protected]>2012-11-06 13:00:10 -0800
committerFelipe Balbi <[email protected]>2012-11-08 16:04:50 +0200
commit23834e533184bd2185bce500c789f86b3668739b (patch)
tree149f705a0ce8460e24b247e8f9e4359dc6cf2e63 /tools/perf/scripts/python/bin
parentbe44f1c80b998b00cfa1759f4ba88f6497810963 (diff)
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 <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions