Re: [ANNOUNCE] 2.6.33-rc8-rt1

From: Thomas Gleixner
Date: Mon Feb 22 2010 - 06:30:10 EST


On Mon, 22 Feb 2010, John Kacur wrote:
> On Mon, Feb 22, 2010 at 12:24 AM, Thomas Gleixner <tglx@xxxxxxxxxxxxx> 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))
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/