]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] 3ware: kmap_atomic() fix
authorAndrew Morton <akpm@osdl.org>
Fri, 14 Apr 2006 21:52:14 +0000 (14:52 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 24 Apr 2006 16:56:03 +0000 (09:56 -0700)
commit1d7e3fb722af33e03840d8e93d479ad078871d61
tree856a62d9e17972e03a9bf17f9b32e124b25ef5b6
parent9d395d1961a0eeb9e8b1ef2854f3ca8f0b985266
[PATCH] 3ware: kmap_atomic() fix

We must disable local IRQs while holding KM_IRQ0 or KM_IRQ1.  Otherwise, an
IRQ handler could use those kmap slots while this code is using them,
resulting in memory corruption.

Thanks to Nick Orlov <bugfixer@list.ru> for reporting.

Cc: <linuxraid@amcc.com>
Cc: James Bottomley <James.Bottomley@SteelEye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/3w-xxxx.c