[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1271321906.16881.2257.camel@edumazet-laptop>
Date: Thu, 15 Apr 2010 10:58:26 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: David Miller <davem@...emloft.net>
Cc: xiaosuo@...il.com, therbert@...gle.com, eparis@...hat.com,
netdev@...r.kernel.org
Subject: Re: BUG: using smp_processor_id() in preemptible [00000000] code:
avahi-daemon: caller is netif_rx
Le jeudi 15 avril 2010 à 01:33 -0700, David Miller a écrit :
> Yes, this looks more reasonable. Eric if you agree please (re-)submit
> this formally, I must have missed this somehow, sorry.
>
> And this is a bug fix in any kernel, not just one's that have RPS
> patches applied.
>
> If we are not called from some interrupt context, there is no sure
> trigger to make sure software interrupts will be executed after the
> packet is queued locally. netif_rx_ni() makes sure that any pending
> software interrupts will run in such cases.
Our mails crossed ;)
Yes I think it's more reasonable to fix it like this, I'll submit a
patch after fully testing it :)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists