[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20131029.225942.752679895895679051.davem@davemloft.net>
Date: Tue, 29 Oct 2013 22:59:42 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: nlhintz@...mail.com
Cc: netdev@...r.kernel.org, zajec5@...il.com
Subject: Re: [PATCH v2] bgmac: don't update slot on skb alloc/dma mapping
error
From: Nathan Hintz <nlhintz@...mail.com>
Date: Tue, 29 Oct 2013 19:32:01 -0700
> Don't update the slot in "bgmac_dma_rx_skb_for_slot" unless both the
> skb alloc and dma mapping are successful; and free the newly allocated
> skb if a dma mapping error occurs. This relieves the caller of the need
> to deduce/execute the appropriate cleanup action required when an error
> occurs.
>
> Signed-off-by: Nathan Hintz <nlhintz@...mail.com>
> Acked-by: Rafaİİ Miİİecki <zajec5@...il.com>
Applied, thanks.
--
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