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

From: David Miller
Date: Mon Jun 11 2012 - 16:13:51 EST


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

> From: Eric Dumazet <edumazet@xxxxxxxxxx>
>
> __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@xxxxxxxxxx>
> Reported-by: Roland Stigge <stigge@xxxxxxxxx>
> Tested-by: Roland Stigge <stigge@xxxxxxxxx>

Applied and queued up for -stable.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/