netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* tg3 reset_task question
@ 2007-04-04 20:34 Gagan Arneja
  2007-04-04 21:37 ` Michael Chan
  0 siblings, 1 reply; 5+ messages in thread
From: Gagan Arneja @ 2007-04-04 20:34 UTC (permalink / raw)
  To: netdev

Can't this BUG_ON be hit very easily:

static void tg3_irq_quiesce(struct tg3 *tp)
{
        BUG_ON(tp->irq_sync);
...
}

tg3_reset_task could easily be racing with another thread, that calls
tg3_full_lock(tp, 1); e.g tg3_change_mtu. Maybe I'm missing something
obvious.

--
Gagan

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-04-05 11:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-04 20:34 tg3 reset_task question Gagan Arneja
2007-04-04 21:37 ` Michael Chan
2007-04-04 20:53   ` Gagan Arneja
2007-04-04 22:10     ` Stephen Hemminger
2007-04-05 11:58       ` Herbert Xu

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).