mirror_ubuntu-kernels/include/linux/usb
Bjørn Mork 70c37bf97f net: usbnet: prevent buggy devices from killing us
A device sending 0 length frames as fast as it can has been
observed killing the host system due to the resulting memory
pressure.

Temporarily disable RX skb allocation and URB submission when
the current error ratio is high, preventing us from trying to
allocate an infinite number of skbs.  Reenable as soon as we
are finished processing the done queue, allowing the device
to continue working after short error bursts.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Acked-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-01-30 17:35:44 -05:00
..
association.h
atmel_usba_udc.h
audio-v2.h
audio.h UAPI: (Scripted) Disintegrate include/linux/usb 2012-10-09 09:49:07 +01:00
c67x00.h
cdc_ncm.h net: cdc_mbim: adding MBIM driver 2012-10-23 02:40:11 -04:00
cdc-wdm.h
ch9.h UAPI: (Scripted) Disintegrate include/linux/usb 2012-10-09 09:49:07 +01:00
chipidea.h
composite.h usb: gadget: always update HS/SS descriptors and create a copy of them 2012-10-31 15:09:44 +02:00
ehci_def.h USB: EHCI: Tegra: Fix wrong register definition 2012-09-18 17:40:56 +01:00
ehci_pdriver.h USB: EHCI: remove ehci_port_power() routine 2012-10-31 12:48:07 -07:00
ezusb.h USB: ezusb: unexport some functions that aren't being used 2012-10-24 14:19:16 -07:00
functionfs.h UAPI: (Scripted) Disintegrate include/linux/usb 2012-10-09 09:49:07 +01:00
g_hid.h
gadget.h usb: gadget: always update HS/SS descriptors and create a copy of them 2012-10-31 15:09:44 +02:00
gpio_vbus.h
hcd.h
input.h
intel_mid_otg.h
iowarrior.h
irda.h
isp116x.h
isp1301.h
isp1362.h
isp1760.h
m66592.h
msm_hsusb_hw.h
msm_hsusb.h
musb-omap.h
musb.h
net2280.h
nop-usb-xceiv.h
ohci_pdriver.h USB: ohci: allow platform driver to specify the number of ports 2012-10-22 11:23:59 -07:00
omap_usb.h usb: phy: add a new driver for omap usb2 phy 2012-09-06 20:14:53 +03:00
otg.h usb: phy: fix build break 2012-09-06 16:01:11 +03:00
phy_companion.h usb: phy: add a new driver for omap usb2 phy 2012-09-06 20:14:53 +03:00
phy.h usb: phy: change phy notify connect/disconnect API 2012-11-15 17:44:51 -08:00
quirks.h
r8a66597.h
renesas_usbhs.h
rndis_host.h
serial.h USB: ezusb: add support for Cypress FX2LP 2012-09-18 17:23:47 +01:00
sl811.h
storage.h
tegra_usb_phy.h usb: move phy driver from mach-tegra to drivers/usb 2012-09-05 16:43:57 +03:00
tilegx.h
uas.h
ulpi.h
usbnet.h net: usbnet: prevent buggy devices from killing us 2013-01-30 17:35:44 -05:00
wusb-wa.h
wusb.h