Thread (14 messages) flat view 14 messages, 3 authors, 2014-09-20

Re: [PATCH 1/2] 3c59x: Add dma error checking and recovery

From: Neil Horman <nhorman@tuxdriver.com>
Date: 2014-09-20 01:19:52
Also in: lkml

On Fri, Sep 19, 2014 at 04:29:19PM -0400, David Miller wrote:
From: Neil Horman <nhorman@tuxdriver.com>
Date: Wed, 17 Sep 2014 09:04:44 -0400
quoted
Noted that 3c59x has no checks on transmit for failed DMA mappings, and no
ability to unmap fragments when a single map fails in the middle of a transmit.
This patch provides error checking to ensure that dma mappings work properly,
and unrolls an skb mapping if a fragmented skb transmission has a mapping
failure to prevent leaks.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
CC: Linux Kernel list <redacted>
CC: "David S. Miller" <davem@davemloft.net>
CC: Meelis Roos <redacted>
Tested-by: Meelis Roos <redacted>
Applied.
Thanks Dave!
Neil
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help