From: David Miller <davem@davemloft.net>
To: anemo@mba.ocn.ne.jp
Cc: netdev@vger.kernel.org, ralf.roesch@rw-gmbh.de
Subject: Re: [PATCH] tc35815: Remove a wrong netif_wake_queue() call which triggers BUG_ON
Date: Tue, 23 Feb 2010 01:25:58 -0800 (PST) [thread overview]
Message-ID: <20100223.012558.174368647.davem@davemloft.net> (raw)
In-Reply-To: <1266592438-10772-1-git-send-email-anemo@mba.ocn.ne.jp>
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Sat, 20 Feb 2010 00:13:58 +0900
> 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>
Patch applied, thanks.
prev parent reply other threads:[~2010-02-23 9:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-19 15:13 [PATCH] tc35815: Remove a wrong netif_wake_queue() call which triggers BUG_ON Atsushi Nemoto
2010-02-19 15:31 ` Atsushi Nemoto
2010-02-23 9:26 ` David Miller
2010-02-23 9:25 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100223.012558.174368647.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=anemo@mba.ocn.ne.jp \
--cc=netdev@vger.kernel.org \
--cc=ralf.roesch@rw-gmbh.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).