]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rsxx: Handling failed pci_map_page on PowerPC and double free.
authorPhilip J Kelleher <pjk1939@linux.vnet.ibm.com>
Wed, 4 Sep 2013 18:59:02 +0000 (13:59 -0500)
committerJens Axboe <axboe@kernel.dk>
Tue, 15 Oct 2013 20:17:30 +0000 (14:17 -0600)
commit65ff6c5269551f899e77905f2ea453e4f63fca20
tree7398e5964643e4c5c83e36400931cbe85342b6fa
parent65b444040bbaa8025c4c35839237ff8bece45f92
rsxx: Handling failed pci_map_page on PowerPC and double free.

The rsxx driver was not checking the correct value during a
pci_map_page failure. Fixing this also uncovered a
double free if the bio was returned before it was
broken up into indiviadual 4k dmas, that is also
fixed here.

Signed-off-by: Philip J Kelleher <pjk1939@linux.vnet.ibm.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rsxx/core.c
drivers/block/rsxx/dma.c
drivers/block/rsxx/rsxx_priv.h