]> git.baikalelectronics.ru Git - kernel.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)
commitc9ec9cd5e4e2886c3e07f9f6cd4d2c5e1a113254
tree0244279540075f960b4afb6927b433db7dee36f7
parent3236d1259337d3f514b46d090f4029cc1f79c0c5
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 3acb2d534405c7a969f0eb3dea264cf386c2e226
("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