]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mv_xor: fix race in tasklet function
authorSaeed Bishara <saeed@marvell.com>
Tue, 21 Dec 2010 14:53:39 +0000 (16:53 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 9 Feb 2011 21:15:36 +0000 (22:15 +0100)
commit685c0cc45ed6d9a6289dee976eb6b9db4f05c5fe
tree4fabe5c65055e259b6ffa36a56d998a7789abfb2
parentfca909254747217cbd454e9913fedfc728704828
mv_xor: fix race in tasklet function

commit 8333f65ef094e47020cd01452b4637e7daf5a77f upstream.

use mv_xor_slot_cleanup() instead of __mv_xor_slot_cleanup() as the former function
aquires the spin lock that needed to protect the drivers data.

Signed-off-by: Saeed Bishara <saeed@marvell.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/dma/mv_xor.c