aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorBrian King <[email protected]>2020-09-16 15:09:59 -0500
committerMartin K. Petersen <[email protected]>2020-09-22 17:38:39 -0400
commit2584e5aef87a921fc4bf23e2d2ea98c5277f0a0f (patch)
tree12715dfa693a5a27e853f31ac25eba42083ca3c7 /tools/perf/scripts/python/net_dropmonitor.py
parent3c9a7c58ea3d8a9d2f7377db3fdb9d7b4da1d480 (diff)
scsi: ibmvfc: Protect vhost->task_set increment by the host lock
In the discovery thread, ibmvfc does a vhost->task_set++ without any lock held. This could result in two targets getting the same cancel key, which could have strange effects in error recovery. The actual probability of this occurring should be extremely small, since this should all be done in a single threaded loop from the discovery thread, but let's fix it up anyway to be safe. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Brian King <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions