Thread (33 messages) read the whole thread 33 messages, 7 authors, 2015-06-02

[PATCH 5/8] dmaengine: mv_xor: bug fix for racing condition in descriptors cleanup

From: Thomas Petazzoni <hidden>
Date: 2015-05-12 15:51:30
Also in: linux-crypto, lkml

Maxime,

On Tue, 12 May 2015 17:37:40 +0200, Maxime Ripard wrote:
From: Lior Amsalem <redacted>

This patch fixes a bug in the XOR driver where the cleanup function can be
called and free descriptors that never been processed by the engine (which
result in data errors).

The cleanup function will free descriptors based on the ownership bit in
the descriptors.

Signed-off-by: Lior Amsalem <redacted>
Reviewed-by: Ofer Heifetz <redacted>
Signed-off-by: Maxime Ripard <redacted>
If this is fixing a bug, shouldn't it be Cc'ed to stable@ ? But then it
needs to be the first patch in the series.
From what I remember, this series both fixes some issues *and* adds
RAID6 support. We need to separate out the two things so that the fixes
can be propagated to stable.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help