[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090930184722.GD6364@tuxdriver.com>
Date: Wed, 30 Sep 2009 14:47:22 -0400
From: "John W. Linville" <linville@...driver.com>
To: Oliver Hartkopp <oliver@...tkopp.net>
Cc: David Miller <davem@...emloft.net>,
Johannes Berg <johannes@...solutions.net>,
Michael Buesch <mb@...sch.de>, Kalle Valo <kalle.valo@....fi>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] net: fix NOHZ: local_softirq_pending 08
On Wed, Sep 30, 2009 at 08:18:25PM +0200, Oliver Hartkopp wrote:
> Socket buffers that are generated and received inside softirqs or from process
> context must not use netif_rx() that's intended to be used from irq context only.
>
> This patch introduces a new helper function netif_rx_ti(skb) that tests for
> in_interrupt() before invoking netif_rx() or netif_rx_ni().
>
> It fixes the ratelimited kernel warning
>
> NOHZ: local_softirq_pending 08
>
> in the mac80211 and can subsystems.
>
> Signed-off-by: Oliver Hartkopp <oliver@...tkopp.net>
http://bugzilla.kernel.org/show_bug.cgi?id=14278
Acked-by: John W. Linville <linville@...driver.com>
--
John W. Linville Someday the world will need a hero, and you
linville@...driver.com might be all we have. Be ready.
--
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