30 lines
931 B
Diff
30 lines
931 B
Diff
From 2ed9761f2f913fede5f1762fa840f0307216d29b Mon Sep 17 00:00:00 2001
|
|
From: Thomas Gleixner <tglx@linutronix.de>
|
|
Date: Thu, 21 Jul 2011 21:05:33 +0200
|
|
Subject: [PATCH 091/365] net/wireless: Use WARN_ON_NORT()
|
|
|
|
The softirq counter is meaningless on RT, so the check triggers a
|
|
false positive.
|
|
|
|
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
|
---
|
|
net/mac80211/rx.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
|
|
index 9be82ed02e0e..8150207dd50b 100644
|
|
--- a/net/mac80211/rx.c
|
|
+++ b/net/mac80211/rx.c
|
|
@@ -4270,7 +4270,7 @@ void ieee80211_rx_napi(struct ieee80211_hw *hw, struct ieee80211_sta *pubsta,
|
|
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 >= NUM_NL80211_BANDS))
|
|
goto drop;
|
|
--
|
|
2.28.0
|
|
|