Re: [PATCH] net: lpc_eth: fix tx completion

David Miller
2012-06-11T20:13:58Z

From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Mon, 11 Jun 2012 19:21:36 +0200

> From: Eric Dumazet <edumazet@google.com>
>
> __lpc_handle_xmit() has two bugs :
>
> 1) It can leak skbs in case TXSTATUS_ERROR is set
>
> 2) It can wake up txqueue while no slot was freed.
>
> Signed-off-by: Eric Dumazet <edumazet@google.com>
> Reported-by: Roland Stigge <stigge@antcom.de>
> Tested-by: Roland Stigge <stigge@antcom.de>

Applied and queued up for -stable.