diff options
author | Atsushi Nemoto | 2010-02-19 05:13:58 +0000 |
---|---|---|
committer | David S. Miller | 2010-02-23 01:25:01 -0800 |
commit | 662a96bd6f020782dfbdc0d0bd177c7dbb556687 (patch) | |
tree | 92216bd288f7a79c556832ef404f0ad03231ead6 /kernel/spinlock.c | |
parent | cac43a1b7b091b17113502e4128dcb0ff7e3503d (diff) |
tc35815: Remove a wrong netif_wake_queue() call which triggers BUG_ON
The netif_wake_queue() is called correctly (i.e. only on !txfull
condition) from txdone routine. So Unconditional call to the
netif_wake_queue() here is wrong. This might cause calling of
start_xmit routine on txfull state and trigger BUG_ON.
This bug does not happen when NAPI disabled. After txdone there
must be at least one free tx slot. But with NAPI, this is not
true anymore and the BUG_ON can hits on heavy load.
In this driver NAPI was enabled on 2.6.33-rc1 so this is
regression from 2.6.32 kernel.
Reported-by: Ralf Roesch <ralf.roesch@rw-gmbh.de>
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/spinlock.c')
0 files changed, 0 insertions, 0 deletions