kernel-ark/drivers/usb/serial
Ian Abbott 224654004c [PATCH] USB serial ftdi_sio: Prevent userspace DoS
This patch limits the amount of outstanding 'write' data that can be
queued up for the ftdi_sio driver, to prevent userspace DoS attacks (or
simple accidents) that use up all the system memory by writing lots of
data to the serial port.

The original patch was by Guillaume Autran, who in turn based it on the
same mechanism implemented in the 'visor' driver.  I (Ian Abbott)
re-targeted the patch to the latest sources, fixed a couple of errors,
renamed his new structure members, and updated the implementations of
the 'write_room' and 'chars_in_buffer' methods to take account of the
number of outstanding 'write' bytes.  It seems to work fine, though at
low baud rates it is still possible to queue up an amount of data that
takes an age to shift (a job for another day!).

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-07-12 16:03:22 -07:00
..
airprime.c
anydata.c
ark3116.c
belkin_sa.c
belkin_sa.h
bus.c
ChangeLog.history
console.c
cp2101.c
cyberjack.c
cypress_m8.c
cypress_m8.h
digi_acceleport.c
empeg.c
ezusb_convert.pl
ezusb.c
ftdi_sio.c [PATCH] USB serial ftdi_sio: Prevent userspace DoS 2006-07-12 16:03:22 -07:00
ftdi_sio.h [PATCH] USB: new device ids for ftdi_sio driver 2006-07-12 16:03:21 -07:00
funsoft.c
garmin_gps.c
generic.c
hp4x.c
io_16654.h
io_edgeport.c
io_edgeport.h
io_fw_boot2.h
io_fw_boot.h
io_fw_down2.h
io_fw_down3.h
io_fw_down.h
io_ionsp.h
io_tables.h
io_ti.c
io_ti.h
io_usbvend.h
ipaq.c
ipaq.h
ipw.c
ir-usb.c
Kconfig
keyspan_mpr_fw.h
keyspan_pda_fw.h
keyspan_pda.c
keyspan_pda.S
keyspan_usa18x_fw.h
keyspan_usa19_fw.h
keyspan_usa19qi_fw.h
keyspan_usa19qw_fw.h
keyspan_usa19w_fw.h
keyspan_usa26msg.h
keyspan_usa28_fw.h
keyspan_usa28msg.h
keyspan_usa28x_fw.h
keyspan_usa28xa_fw.h
keyspan_usa28xb_fw.h
keyspan_usa49msg.h
keyspan_usa49w_fw.h
keyspan_usa49wlc_fw.h
keyspan_usa90msg.h
keyspan.c
keyspan.h
kl5kusb105.c
kl5kusb105.h
kobil_sct.c
kobil_sct.h
Makefile
Makefile-keyspan_pda_fw
mct_u232.c
mct_u232.h
navman.c
omninet.c
option.c
pl2303.c [PATCH] USB: Support for Susteen Datapilot Universal-2 cable in pl2303 2006-07-12 16:03:21 -07:00
pl2303.h [PATCH] USB: Support for Susteen Datapilot Universal-2 cable in pl2303 2006-07-12 16:03:21 -07:00
safe_serial.c
ti_fw_3410.h
ti_fw_5052.h
ti_usb_3410_5052.c
ti_usb_3410_5052.h
usb-serial.c [PATCH] USB: fix usb-serial leaks, oopses on disconnect 2006-07-12 16:03:21 -07:00
usb-serial.h
visor.c [PATCH] USB serial visor: fix race in open/close 2006-07-12 16:03:22 -07:00
visor.h
whiteheat_fw.h
whiteheat.c
whiteheat.h
xircom_pgs_fw.h
xircom_pgs.S