Re: [PATCH v3 1/2] rsxx: Handling failed pci_map_page on PowerPCand double free.

From: Brian King
Date: Wed Sep 04 2013 - 15:19:59 EST


On 09/04/2013 01:59 PM, Philip J. Kelleher wrote:
> From: Philip J Kelleher <pjk1939@xxxxxxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxxxxx>

Reviewed-by: Brian King <brking@xxxxxxxxxxxxxxxxxx>


--
Brian King
Power Linux I/O
IBM Linux Technology Center


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/