summary refs log tree commit diff
path: root/arch/arm64/lib
diff options
context:
space:
mode:
authorTilman Schmidt <tilman@imap.cc>2014-10-11 13:46:30 +0200
committerDavid S. Miller <davem@davemloft.net>2014-10-14 15:05:35 -0400
commit86f8ef2c4802ac9dbe0c8c1c12670bd915a13013 (patch)
treeea00760072953a797e6d42ef0ce252cd9556d937 /arch/arm64/lib
parent340184b35ac8786bdb574d2c8ce8e4f1269ec4da (diff)
downloadlinux-86f8ef2c4802ac9dbe0c8c1c12670bd915a13013.tar.gz
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>
Diffstat (limited to 'arch/arm64/lib')
0 files changed, 0 insertions, 0 deletions