diff options
author | Tomas Bortoli <[email protected]> | 2018-07-23 20:42:53 +0200 |
---|---|---|
committer | Dominique Martinet <[email protected]> | 2018-08-13 09:34:58 +0900 |
commit | 9f476d7c540cb57556d3cc7e78704e6cd5100f5f (patch) | |
tree | d4892ba2088c3022a47fc7db4fe7b2ecea5ebe4a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 430ac66eb4c5b5c4eb846b78ebf65747510b30f1 (diff) |
net/9p/trans_fd.c: fix race by holding the lock
It may be possible to run p9_fd_cancel() with a deleted req->req_list
and incur in a double del. To fix hold the client->lock while changing
the status, so the other threads will be synchronized.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Tomas Bortoli <[email protected]>
Reported-by: [email protected]
To: Eric Van Hensbergen <[email protected]>
To: Ron Minnich <[email protected]>
To: Latchesar Ionkov <[email protected]>
Cc: Yiwen Jiang <[email protected]>
Cc: David S. Miller <[email protected]>
Signed-off-by: Dominique Martinet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions