linux/drivers/usb/gadget
Ian Coolidge 4fe5f079b4 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>
2012-11-07 21:12:26 -05:00
..
acm_ms.c usb: gadget: remove usb_gadget_controller_number() 2012-09-10 16:43:24 +03:00
amd5536udc.c usb: gadget: remove global variable composite in composite.c 2012-09-10 15:35:41 +03:00
amd5536udc.h
at91_udc.c Merge 3.6-rc6 into usb-next 2012-09-16 20:42:46 -07:00
at91_udc.h
atmel_usba_udc.c
atmel_usba_udc.h
audio.c usb: gadget: remove usb_gadget_controller_number() 2012-09-10 16:43:24 +03:00
bcm63xx_udc.c usb: gadget: bcm63xx UDC driver 2012-09-05 15:39:41 +03:00
cdc2.c usb: gadget: remove usb_gadget_controller_number() 2012-09-10 16:43:24 +03:00
composite.c usb: gadget: remove usb_gadget_controller_number() 2012-09-10 16:43:24 +03:00
config.c usb: gadget: libcomposite: move config.c into libcomposite 2012-09-10 15:36:16 +03:00
dbgp.c usb: gadget: libcomposite: add epautoconf.c to libcomposite 2012-09-10 15:37:51 +03:00
dummy_hcd.c Merge 3.6-rc6 into usb-next 2012-09-16 20:42:46 -07:00
epautoconf.c usb: gadget: libcomposite: add epautoconf.c to libcomposite 2012-09-10 15:37:51 +03:00
ether.c usb: gadget: remove usb_gadget_controller_number() 2012-09-10 16:43:24 +03:00
f_acm.c
f_ecm.c usb: gadget: use %pm to print mac addresses 2012-08-23 11:04:20 +03:00
f_eem.c
f_fs.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2012-10-02 20:25:04 -07:00
f_hid.c usb: gadget: libcomposite: move composite.c into libcomposite 2012-09-10 16:13:03 +03:00
f_loopback.c
f_mass_storage.c usb: gadget: remove usb_gadget_controller_number() 2012-09-10 16:43:24 +03:00
f_midi.c usb: gadget: Provide a default implementation of default manufacturer string 2012-09-10 16:13:02 +03:00
f_ncm.c usb: gadget: use %pm to print mac addresses 2012-08-23 11:04:20 +03:00
f_obex.c
f_phonet.c netvm: propagate page->pfmemalloc from skb_alloc_page to skb 2012-07-31 18:42:46 -07:00
f_rndis.c
f_serial.c
f_sourcesink.c usb: gadget: move USB_BUFSIZ into global composite.h 2012-09-10 16:00:01 +03:00
f_subset.c usb: gadget: use %pm to print mac addresses 2012-08-23 11:04:20 +03:00
f_uac1.c
f_uac2.c usb: gadget: remove __devexit in f_uac2 2012-09-10 15:34:14 +03:00
f_uvc.c
f_uvc.h
file_storage.c usb: gadget: remove usb_gadget_controller_number() 2012-09-10 16:43:24 +03:00
fsl_mxc_udc.c
fsl_qe_udc.c
fsl_qe_udc.h
fsl_udc_core.c usb: gadget: remove global variable composite in composite.c 2012-09-10 15:35:41 +03:00
fsl_usb2_udc.h
fusb300_udc.c usb: gadget: remove global variable composite in composite.c 2012-09-10 15:35:41 +03:00
fusb300_udc.h
g_ffs.c usb: gadget: libcomposite: move composite.c into libcomposite 2012-09-10 16:13:03 +03:00
g_zero.h
gadget_chips.h usb: gadget: remove usb_gadget_controller_number() 2012-09-10 16:43:24 +03:00
gmidi.c usb: gadget: remove usb_gadget_controller_number() 2012-09-10 16:43:24 +03:00
goku_udc.c usb: gadget: remove global variable composite in composite.c 2012-09-10 15:35:41 +03:00
goku_udc.h
hid.c usb: gadget: remove usb_gadget_controller_number() 2012-09-10 16:43:24 +03:00
imx_udc.c ARM: imx: move platform_data definitions 2012-09-14 11:17:21 +02:00
imx_udc.h
inode.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2012-10-02 11:11:09 -07:00
Kconfig usb: gadget: Make webcam gadget select USB_LIBCOMPOSITE 2012-10-15 09:26:26 -07:00
lpc32xx_udc.c usb: gadget: lpc32xx_udc: Fix compatibility with STOTG04 2012-10-16 13:11:27 +03:00
m66592-udc.c usb: gadget: remove global variable composite in composite.c 2012-09-10 15:35:41 +03:00
m66592-udc.h
Makefile usb: gadget: remove usb_gadget_controller_number() 2012-09-10 16:43:24 +03:00
mass_storage.c usb: gadget: libcomposite: move composite.c into libcomposite 2012-09-10 16:13:03 +03:00
multi.c usb: gadget: remove usb_gadget_controller_number() 2012-09-10 16:43:24 +03:00
mv_u3d_core.c
mv_u3d.h
mv_udc_core.c usb: gadget: remove global variable composite in composite.c 2012-09-10 15:35:41 +03:00
mv_udc.h
ncm.c usb: gadget: remove usb_gadget_controller_number() 2012-09-10 16:43:24 +03:00
ndis.h
net2272.c usb: gadget: net2272: fix missing unlock on error in net2272_irq() 2012-10-23 09:42:50 +03:00
net2272.h
net2280.c
net2280.h
nokia.c usb: gadget: remove usb_gadget_controller_number() 2012-09-10 16:43:24 +03:00
omap_udc.c usb: gadget: remove global variable composite in composite.c 2012-09-10 15:35:41 +03:00
omap_udc.h
pch_udc.c usb: gadget: remove global variable composite in composite.c 2012-09-10 15:35:41 +03:00
printer.c usb: gadget: remove usb_gadget_controller_number() 2012-09-10 16:43:24 +03:00
pxa25x_udc.c usb: gadget: remove global variable composite in composite.c 2012-09-10 15:35:41 +03:00
pxa25x_udc.h usb: gadget: pxa25x: make it compile with debug again 2012-09-10 15:35:58 +03:00
pxa27x_udc.c ARM: soc: multiplatform enablement 2012-10-01 19:11:38 -07:00
pxa27x_udc.h
r8a66597-udc.c
r8a66597-udc.h
rndis.c usb: gadget: use native print_hex_dump_bytes() 2012-08-23 11:04:18 +03:00
rndis.h
s3c2410_udc.c ARM: soc: multiplatform enablement 2012-10-01 19:11:38 -07:00
s3c2410_udc.h
s3c-hsotg.c usb: gadget: patches for v3.7 merge window 2012-09-11 13:39:49 -07:00
s3c-hsotg.h
s3c-hsudc.c usb: gadget: s3c-hsudc: Replace 0 with NULL for pointers 2012-09-03 17:09:37 +03:00
serial.c usb: gadget serial: don't shift bcd version left by 16 2012-09-10 20:04:20 +03:00
storage_common.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2012-08-01 10:26:23 -07:00
tcm_usb_gadget.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending 2012-10-10 19:52:19 +09:00
tcm_usb_gadget.h usb: gadget: make sure each gadget is using same index for Product, Serial,… 2012-09-10 16:13:00 +03:00
u_ether.c usb: gadget: g_ether: fix frame size check for 802.1Q 2012-11-07 21:12:26 -05:00
u_ether.h
u_phonet.h
u_serial.c ARM: tegra: switch to dmaengine 2012-09-20 19:57:38 -07:00
u_serial.h
u_uac1.c
u_uac1.h
udc-core.c usb: gadget: remove global variable composite in composite.c 2012-09-10 15:35:41 +03:00
usbstring.c usb: gadget: libcomposite: move MODULE_VERSION to composite.c 2012-09-10 16:13:03 +03:00
uvc_queue.c
uvc_queue.h
uvc_v4l2.c
uvc_video.c
uvc.h
webcam.c usb: gadget: libcomposite: move composite.c into libcomposite 2012-09-10 16:13:03 +03:00
zero.c usb: gadget: remove usb_gadget_controller_number() 2012-09-10 16:43:24 +03:00