]> git.baikalelectronics.ru Git - kernel.git/commit
net: usb: cdc_eem: Fix rx skb allocation for 802.1Q VLANs
authorIan Coolidge <iancoolidge@gmail.com>
Wed, 7 Nov 2012 14:39:19 +0000 (14:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Nov 2012 02:12:26 +0000 (21:12 -0500)
commitaf863f23d9c2a033fd1f8d58b8ae6c6d4f1043e2
tree236cf01306c151e26b6759414aef249961ff04a3
parent05e264ce016eecc07341fa4198323cf1148dc3bd
net: usb: cdc_eem: Fix rx skb allocation for 802.1Q VLANs

cdc_eem frames might need to contain 802.1Q VLAN Ethernet frames.
URB/skb sizing from usbnet will default to the hard_mtu,
so account for the VLAN header by expanding that via hard_header_len

Signed-off-by: Ian Coolidge <iancoolidge@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_eem.c