alistair23-linux/drivers/isdn/gigaset
Tilman Schmidt 86f8ef2c48 isdn/gigaset: fix usb_gigaset write_cmd result race
In usb_gigaset function gigaset_write_cmd(), the length field of
the command buffer structure could be cleared by the transmit
tasklet before it was used for the function's return value.
Fix by copying to a local variable before scheduling the tasklet.

Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-10-14 15:05:35 -04:00
..
asyncdata.c
bas-gigaset.c isdn/bas_gigaset: use USB API functions rather than constants 2014-08-22 12:23:10 -07:00
capi.c isdn/capi: handle CAPI 2.0 message parser failures 2014-10-14 15:05:35 -04:00
common.c
dummyll.c
ev-layer.c isdn/gigaset: fix non-heap pointer deallocation 2014-10-14 15:05:34 -04:00
gigaset.h
i4l.c
interface.c
isocdata.c
Kconfig
Makefile
proc.c
ser-gigaset.c
usb-gigaset.c isdn/gigaset: fix usb_gigaset write_cmd result race 2014-10-14 15:05:35 -04:00