[PATCH] net: lpc_eth: fix tx completion

David Miller davem at davemloft.net
Mon Jun 11 16:13:55 EDT 2012


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

> From: Eric Dumazet <edumazet at 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 at google.com>
> Reported-by: Roland Stigge <stigge at antcom.de>
> Tested-by: Roland Stigge <stigge at antcom.de>

Applied and queued up for -stable.



More information about the linux-arm-kernel mailing list