diff options
author | Alexandre Bounine <[email protected]> | 2014-07-30 16:08:26 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-07-30 17:16:13 -0700 |
commit | 0193ed8225e1a79ed64632106ec3cc81798cb13c (patch) | |
tree | 130e54dc330c11d9e7baf1fe54f9cb84139f1a13 /tools/perf/scripts/python/futex-contention.py | |
parent | b104a35d32025ca740539db2808aa3385d0f30eb (diff) |
rapidio/tsi721_dma: fix failure to obtain transaction descriptor
This is a bug fix for the situation when function tsi721_desc_get() fails
to obtain a free transaction descriptor.
The bug usually results in a memory access crash dump when data transfer
scatter-gather list has more entries than size of hardware buffer
descriptors ring. This fix ensures that error is properly returned to a
caller instead of an invalid entry.
This patch is applicable to kernel versions starting from v3.5.
Signed-off-by: Alexandre Bounine <[email protected]>
Cc: Matt Porter <[email protected]>
Cc: Andre van Herk <[email protected]>
Cc: Stef van Os <[email protected]>
Cc: Vinod Koul <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: <[email protected]> [3.5+]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions