]> bbs.cooldavid.org Git - net-next-2.6.git/commit
isa-skelton: Remove a wrong netif_wake_queue() call
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Wed, 24 Feb 2010 06:00:17 +0000 (06:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Feb 2010 10:08:34 +0000 (02:08 -0800)
commit9c5f9c2861909753140ad6a41cdc77cdf20c1dc9
tree0244279540075f960b4afb6927b433db7dee36f7
parentfbc450b137e59205b98a172326415cd981c9caa6
isa-skelton: Remove a wrong netif_wake_queue() call

The netif_wake_queue() is called correctly (i.e. only on !txfull
condition) from net_tx().  So Unconditional call to the
netif_wake_queue() here is wrong.  This might cause calling of
start_xmit routine on txfull state and trigger tx-ring overflow.

This fix is ported from commit 662a96bd6f020782dfbdc0d0bd177c7dbb556687
("tc35815: Remove a wrong netif_wake_queue() call which triggers BUG_ON").

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/isa-skeleton.c