diff options
author | 2014-10-11 13:46:30 +0200 | |
---|---|---|
committer | 2014-10-14 15:05:35 -0400 | |
commit | 86f8ef2c4802ac9dbe0c8c1c12670bd915a13013 (patch) | |
tree | ea00760072953a797e6d42ef0ce252cd9556d937 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | isdn/capi: don't return NULL from capi_cmd2str() (diff) | |
download | linux-dev-86f8ef2c4802ac9dbe0c8c1c12670bd915a13013.tar.xz linux-dev-86f8ef2c4802ac9dbe0c8c1c12670bd915a13013.zip |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions