]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commita66fe1653f4e81c007a68ca975067432a42df05b
tree236cf01306c151e26b6759414aef249961ff04a3
parent4fe5f079b499d7ff34fd49f4005f09018c4e80aa
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