]> 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>
Wed, 11 Sep 2013 19:18:05 +0000 (13:18 -0600)
commit4c6645bdf4a6c7d7340e1c5f4e9d6ae93073ffab
treedeba9bc4c8940e9426020ee4ffc8f748e171baf1
parent09d54e6cf164a524a7d03703acff80974cb4f632
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