forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dmaengine: mv_xor: bug fix for racing condition in descriptors cleanup
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. Fixes: ff7b047 ("dmaengine: DMA engine driver for Marvell XOR engine") Signed-off-by: Lior Amsalem <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Reviewed-by: Ofer Heifetz <[email protected]> Cc: [email protected] Signed-off-by: Vinod Koul <[email protected]>
- Loading branch information
Lior Amsalem
authored and
Vinod Koul
committed
Jun 10, 2015
1 parent
e5489d5
commit 9136291
Showing
2 changed files
with
47 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters