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
usb: uac2: Add ACHeader and FormatType descriptor
2012-02-15 10:10:11 +02:00
audio.h
UAPI: (Scripted) Disintegrate include/linux/usb
2012-10-09 09:49:07 +01:00
c67x00.h
cdc-wdm.h
usb: cdc-wdm: adding usb_cdc_wdm_register subdriver support
2012-03-08 13:06:48 -08:00
cdc_ncm.h
net: cdc_mbim: adding MBIM driver
2012-10-23 02:40:11 -04:00
ch9.h
UAPI: (Scripted) Disintegrate include/linux/usb
2012-10-09 09:49:07 +01:00
chipidea.h
usb: chipidea: permit driver bindings pass phy pointer
2012-07-09 09:59:23 -07:00
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
USB: gpio_vbus: wakeup support on GPIO VBUS interrupts
2012-05-17 11:20:34 -07:00
hcd.h
usb: hcd: use *resource_size_t* for specifying resource data
2012-08-16 14:04:14 -07:00
input.h
intel_mid_otg.h
usb: otg: Rename otg_transceiver to usb_phy
2012-02-13 13:34:36 +02:00
iowarrior.h
irda.h
isp116x.h
isp1301.h
USB: Add driver for NXP ISP1301 USB transceiver
2012-05-01 13:33:02 -04:00
isp1362.h
isp1760.h
m66592.h
msm_hsusb.h
usb: otg: msm: Start using struct usb_otg
2012-02-13 13:35:38 +02:00
msm_hsusb_hw.h
musb-omap.h
usb: musb: twl: use mailbox API to send VBUS or ID events
2012-06-25 14:07:39 +03:00
musb.h
net2280.h
nop-usb-xceiv.h
usb: xceiv: nop: let it work as USB2 and USB3 phy
2012-08-03 09:36:19 +03:00
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.h
usb: phy: change phy notify connect/disconnect API
2012-11-15 17:44:51 -08:00
phy_companion.h
usb: phy: add a new driver for omap usb2 phy
2012-09-06 20:14:53 +03:00
quirks.h
usb: convert USB_QUIRK_RESET_MORPHS to USB_QUIRK_RESET
2012-08-20 14:38:08 -07:00
r8a66597.h
renesas_usbhs.h
usb: renesas_usbhs: add DMAEngine ID specification note
2012-06-13 12:38:36 -07:00
rndis_host.h
usb/net: rndis: break out <linux/rndis.h> defines
2012-05-12 15:02:22 -04:00
serial.h
USB: ezusb: add support for Cypress FX2LP
2012-09-18 17:23:47 +01:00
sl811.h
storage.h
usb/storage: remove Filler member from struct bulk_cs_wrap
2012-02-28 11:11:22 -08:00
tegra_usb_phy.h
usb: move phy driver from mach-tegra to drivers/usb
2012-09-05 16:43:57 +03:00
tilegx.h
usb: add host support for the tilegx architecture
2012-07-18 16:40:29 -04:00
uas.h
uas: task mgmt & error handling
2012-06-25 11:51:01 -07:00
ulpi.h
usb: otg: ulpi: Start using struct usb_otg
2012-02-13 13:35:56 +02:00
usbnet.h
net: usbnet: prevent buggy devices from killing us
2013-01-30 17:35:44 -05:00
wusb-wa.h
wusb.h