diff options
| author | Anton Volkov <[email protected]> | 2017-08-07 12:54:14 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-08-07 18:25:14 +0000 |
| commit | b925ef37b0a152b0c06aa43bc9204d0116f676d7 (patch) | |
| tree | ae634920cf42835cad86baddf89b06be3662510a /tools/perf/scripts/python/check-perf-trace.py | |
| parent | s390/qeth: fix L3 next-hop in xmit qeth hdr (diff) | |
| download | kernel-b925ef37b0a152b0c06aa43bc9204d0116f676d7.tar.gz kernel-b925ef37b0a152b0c06aa43bc9204d0116f676d7.zip | |
hysdn: fix to a race condition in put_log_buffer
The synchronization type that was used earlier to guard the loop that
deletes unused log buffers may lead to a situation that prevents any
thread from going through the loop.
The patch deletes previously used synchronization mechanism and moves
the loop under the spin_lock so the similar cases won't be feasible in
the future.
Found by by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Anton Volkov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
