From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH 1/2] 3c59x: Add dma error checking and recovery Date: Fri, 19 Sep 2014 16:29:19 -0400 (EDT) Message-ID: <20140919.162919.2196253287493171915.davem@davemloft.net> References: <1410959085-7351-1-git-send-email-nhorman@tuxdriver.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, mroos@linux.ee To: nhorman@tuxdriver.com Return-path: In-Reply-To: <1410959085-7351-1-git-send-email-nhorman@tuxdriver.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Neil Horman Date: Wed, 17 Sep 2014 09:04:44 -0400 > 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 > CC: Linux Kernel list > CC: "David S. Miller" > CC: Meelis Roos > Tested-by: Meelis Roos Applied.