[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150220.174442.1159114953751161039.davem@davemloft.net>
Date: Fri, 20 Feb 2015 17:44:42 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: david.stevens@...cle.com
Cc: netdev@...r.kernel.org, sowmini.varadhan@...cle.com
Subject: Re: [PATCH net-next] sunvnet: failed trigger should not cause
BUG_ON()
From: David L Stevens <david.stevens@...cle.com>
Date: Thu, 19 Feb 2015 13:15:49 -0500
> An error return from __vnet_tx_trigger() sets the TX descriptor to
> VIO_DESC_FREE while leaving port->tx_bufs[txi].skb set. This leads
> to a BUG_ON() the next time this descriptor is used.
>
> This patch frees the pending skb when getting a trigger error to
> match the VIO_DESC_FREE state.
>
> Signed-off-by: David L Stevens <david.stevens@...cle.com>
Applied, thanks David.
--
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