Re: [ANNOUNCE] 2.6.33-rc8-rt1

Thomas Gleixner
2010-02-22T11:29:59Z

On Mon, 22 Feb 2010, John Kacur wrote:
> On Mon, Feb 22, 2010 at 12:24 AM, Thomas Gleixner <tglx@linutronix.de> wrote:
> > We are zooming in, but there is still a way to go!
> >
>
> Woohoo! More -rt fun.
>
> Unfortunately, I can't log in on my T500 with this kernel though.
> The following shows-up on my serial console.
> ------------[ cut here ]------------
> WARNING: at /home/jkacur/rt.linux.git/net/mac80211/rx.c:2467 ieee80211_rx+0x4c/0
> x721 [mac80211]()

Fix below. Thanks,

tglx
----
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index 82a30c1..e735c17 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -2464,7 +2464,7 @@ void ieee80211_rx(struct ieee80211_hw *hw, struct sk_buff *skb)
struct ieee80211_supported_band *sband;
struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb);

- WARN_ON_ONCE(softirq_count() == 0);
+ WARN_ON_ONCE_NONRT(softirq_count() == 0);

if (WARN_ON(status->band < 0 ||
status->band >= IEEE80211_NUM_BANDS))