diff options
author | Eric Dumazet <edumazet@google.com> | 2012-06-11 07:21:36 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-16 09:03:45 -0700 |
commit | 3d5f5b08fa79068f567534166fb88ccebcb7c6d4 (patch) | |
tree | 5d7246f0783a64e2369590b7bd1b4ad897cc6cb6 /net | |
parent | 1a36f94f6a9906d389787c259f86f13fc48c82a6 (diff) |
lpc_eth: fix tx completion
[ Upstream commit 3f16da51b0e533871d22a29682f3c3969d4f7e22 ]
__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>
Cc: Kevin Wells <kevin.wells@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions