kernel-ark/drivers/net/irda
Jean Tourrilhes 669d32a293 [IRDA]: irda-usb bug fixes
This patch fixes 2 bugs in the USB-IrDA code.

The first one is a buffer overrun in the RX path. We are now using
IRDA_SKB_MAX_MTU when initializing the Rx URB.

The second one is a potential stack recursion when unplugging the USB
dongle.  It seems that first we get the Rx URB with a generic error
code, and after a while the Rx URB comes again with a "disconnect"
error code.  Since we are resubmitting the Rx URB immediately after
receiving the first error one, we might enter an endless loop.

When getting an error Rx URB, the patch defers the Rx URB resubmitting
so that it gives us a chance to catch the disconnect one, in case the
dongle has juts been unplugged.

Tested against 2.6.16-rc2.

Patch from Jean Tourrilhes

Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com>
Signed-off-by: Samuel Ortiz <samuel.ortiz@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-02-19 22:28:25 -08:00
..
act200l-sir.c
act200l.c
actisys-sir.c
actisys.c
ali-ircc.c [PATCH] move pm_register/etc. to CONFIG_PM_LEGACY, pm_legacy.h 2005-11-13 18:14:10 -08:00
ali-ircc.h
au1k_ir.c
au1000_ircc.h
donauboe.c
donauboe.h
ep7211_ir.c
esi-sir.c
esi.c
girbil-sir.c
girbil.c
irda-usb.c [IRDA]: irda-usb bug fixes 2006-02-19 22:28:25 -08:00
irda-usb.h [IRDA]: irda-usb bug fixes 2006-02-19 22:28:25 -08:00
irport.c [PATCH] drivers/net/irda/irport.c: cleanups 2006-01-10 08:01:55 -08:00
irport.h
irtty-sir.c [PATCH] TTY layer buffering revamp 2006-01-10 08:01:59 -08:00
irtty-sir.h
Kconfig [IRDA] DONGLE_OLD: remove dependency on non-existing symbol 2006-01-10 13:11:44 -08:00
litelink-sir.c
litelink.c
ma600-sir.c
ma600.c
Makefile [IRDA]: kill drivers/net/irda/sir_core.c 2006-01-10 13:10:02 -08:00
mcp2120-sir.c
mcp2120.c
nsc-ircc.c [PATCH] move pm_register/etc. to CONFIG_PM_LEGACY, pm_legacy.h 2005-11-13 18:14:10 -08:00
nsc-ircc.h
old_belkin-sir.c
old_belkin.c
pxaficp_ir.c
sa1100_ir.c
sir_dev.c [IRDA]: kill drivers/net/irda/sir_core.c 2006-01-10 13:10:02 -08:00
sir_dongle.c [IRDA]: kill drivers/net/irda/sir_core.c 2006-01-10 13:10:02 -08:00
sir_kthread.c [IRDA]: kill drivers/net/irda/sir_core.c 2006-01-10 13:10:02 -08:00
sir-dev.h [IRDA]: kill drivers/net/irda/sir_core.c 2006-01-10 13:10:02 -08:00
smsc-ircc2.c
smsc-ircc2.h
smsc-sio.h
stir4200.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
tekram-sir.c
tekram.c
via-ircc.c
via-ircc.h
vlsi_ir.c
vlsi_ir.h [PATCH] Eliminate __attribute__ ((packed)) warnings for gcc-4.1 2006-01-08 20:14:07 -08:00
w83977af_ir.c
w83977af_ir.h
w83977af.h