2013-11-22 01:00:09 +00:00
|
|
|
Subject: net-wireless-warn-nort.patch
|
|
|
|
From: Thomas Gleixner <tglx@linutronix.de>
|
|
|
|
Date: Thu, 21 Jul 2011 21:05:33 +0200
|
2013-12-02 05:10:45 +00:00
|
|
|
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/3.12/patches-3.12.1-rt4.tar.xz
|
2013-11-22 01:00:09 +00:00
|
|
|
|
|
|
|
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
|
|
|
---
|
|
|
|
net/mac80211/rx.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
--- a/net/mac80211/rx.c
|
|
|
|
+++ b/net/mac80211/rx.c
|
|
|
|
@@ -3297,7 +3297,7 @@ void ieee80211_rx(struct ieee80211_hw *h
|
|
|
|
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 >= IEEE80211_NUM_BANDS))
|
|
|
|
goto drop;
|