summaryrefslogtreecommitdiffstats
path: root/mm/memory-failure.c
diff options
context:
space:
mode:
authorAlexandre Bounine2014-07-31 01:08:26 +0200
committerLinus Torvalds2014-07-31 02:16:13 +0200
commit0193ed8225e1a79ed64632106ec3cc81798cb13c (patch)
tree130e54dc330c11d9e7baf1fe54f9cb84139f1a13 /mm/memory-failure.c
parentmm, thp: do not allow thp faults to avoid cpuset restrictions (diff)
downloadkernel-qcow2-linux-0193ed8225e1a79ed64632106ec3cc81798cb13c.tar.gz
kernel-qcow2-linux-0193ed8225e1a79ed64632106ec3cc81798cb13c.tar.xz
kernel-qcow2-linux-0193ed8225e1a79ed64632106ec3cc81798cb13c.zip
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 <alexandre.bounine@idt.com> Cc: Matt Porter <mporter@kernel.crashing.org> Cc: Andre van Herk <andre.van.herk@prodrive-technologies.com> Cc: Stef van Os <stef.van.os@prodrive-technologies.com> Cc: Vinod Koul <vinod.koul@intel.com> Cc: Dan Williams <dan.j.williams@intel.com> Cc: <stable@vger.kernel.org> [3.5+] Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memory-failure.c')
0 files changed, 0 insertions, 0 deletions