diff options
author | Tilman Schmidt <tilman@imap.cc> | 2014-10-11 13:46:30 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-14 15:05:35 -0400 |
commit | 86f8ef2c4802ac9dbe0c8c1c12670bd915a13013 (patch) | |
tree | ea00760072953a797e6d42ef0ce252cd9556d937 /net | |
parent | 340184b35ac8786bdb574d2c8ce8e4f1269ec4da (diff) | |
download | linux-86f8ef2c4802ac9dbe0c8c1c12670bd915a13013.tar.bz2 |
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 'net')
0 files changed, 0 insertions, 0 deletions