diff options
author | Jiajun Wu <b06378@freescale.com> | 2010-01-18 05:47:50 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-05 11:11:16 -0700 |
commit | 21eaa71fdb6f33ee62c4e308d320510f14eac6b4 (patch) | |
tree | 7bd42190bdbff873a75eeee5f57cbf94182acb89 /usr | |
parent | 7c1558cb5e752c81ad3a151a5ac2c032a8dcfe23 (diff) |
ucc_geth: Fix full TX queue processing
commit 34692421bc7d6145ef383b014860f4fde10b7505 upstream.
commit 7583605b6d29f1f7f6fc505b883328089f3485ad ("ucc_geth: Fix empty
TX queue processing") fixed empty TX queue mishandling, but didn't
account another corner case: when TX queue becomes full.
Without this patch the driver will stop transmiting when TX queue
becomes full since 'bd == ugeth->txBd[txQ]' actually checks for
two things: queue empty or full.
Let's better check for NULL skb, which unambiguously signals an empty
queue.
Signed-off-by: Jiajun Wu <b06378@freescale.com>
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions