From: David Miller <davem@davemloft.net>
To: herbert@gondor.apana.org.au
Cc: jarkao2@gmail.com, ash@sevsky.net, netdev@vger.kernel.org
Subject: Re: Kernel problem
Date: Thu, 26 Feb 2009 04:10:37 -0800 (PST) [thread overview]
Message-ID: <20090226.041037.134928084.davem@davemloft.net> (raw)
In-Reply-To: <20090226115604.GA13592@gondor.apana.org.au>
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: Thu, 26 Feb 2009 19:56:04 +0800
> On Thu, Feb 26, 2009 at 10:56:16AM +0000, Jarek Poplawski wrote:
> >
> > netconsole. It's a known issue, btw.
>
> I see. So the problem in this case appears to be that we're
> processing incoming packets in netpoll_poll. So the obvious
> question can we just not do that since all we need to do is
> transmit packets?
netpoll supports receiving packets and has a trap handler to eat them
to avoid packets it is interested in going into the real stack.
(netpoll_receive_skb, netpoll_rx_skb, etc.)
I'm pretty sure this has been discussed before. :-)
If I'm not mistaken, we only see this with certain drivers, and the
issue therefore likely has to do with how such drivers implement their
poll handler.
If you do your ->poll_controller() handler without taking IRQ locks,
you're fine. Or something like that...
next prev parent reply other threads:[~2009-02-26 12:10 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-25 11:43 Kernel problem Denis Romanenko
2009-02-26 9:39 ` Herbert Xu
2009-02-26 9:38 ` Denys Fedoryschenko
2009-02-26 10:56 ` Jarek Poplawski
2009-02-26 11:24 ` Denis Romanenko
2009-02-26 12:00 ` Jarek Poplawski
2009-02-26 12:47 ` Jarek Poplawski
2009-02-26 12:51 ` Denis Romanenko
2009-02-26 13:17 ` Jarek Poplawski
2009-02-26 11:56 ` Herbert Xu
2009-02-26 12:10 ` David Miller [this message]
2009-02-26 13:06 ` Herbert Xu
2009-02-26 13:19 ` Jarek Poplawski
2009-02-27 4:11 ` Herbert Xu
2009-02-27 8:03 ` David Miller
2009-02-27 11:45 ` Herbert Xu
2009-02-27 13:24 ` David Miller
2009-02-27 8:41 ` Jarek Poplawski
2009-02-27 8:59 ` David Miller
2009-02-27 9:12 ` Jarek Poplawski
2009-02-27 9:16 ` David Miller
2009-02-27 9:29 ` Jarek Poplawski
2009-03-01 7:38 ` Herbert Xu
2009-03-01 8:12 ` David Miller
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=20090226.041037.134928084.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=ash@sevsky.net \
--cc=herbert@gondor.apana.org.au \
--cc=jarkao2@gmail.com \
--cc=netdev@vger.kernel.org \
/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).