[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100203.191726.190578844.davem@davemloft.net>
Date: Wed, 03 Feb 2010 19:17:26 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jeffrey.t.kirsher@...el.com
Cc: netdev@...r.kernel.org, gospo@...hat.com, anton@...ba.org
Subject: Re: [net-2.6 PATCH 1/2] ixgbe: Fix ixgbe_tx_map error path
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Date: Wed, 03 Feb 2010 15:12:51 -0800
> From: Anton Blanchard <anton@...ba.org>
>
> Commit e5a43549f7a58509a91b299a51337d386697b92c (ixgbe: remove
> skb_dma_map/unmap calls from driver) looks to have introduced a bug in
> ixgbe_tx_map. If we get an error from a PCI DMA call, we loop backwards
> through count until it becomes -1 and return that.
>
> The caller of ixgbe_tx_map expects 0 on error, so return that instead.
>
> Signed-off-by: Anton Blanchard <anton@...ba.org>
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists