#19733: Kernel bug: swapper Not tainted
---------------------------+--------------------------------------------
Reporter: shulong.li@… | Owner: developers
Type: defect | Status: new
Priority: high | Milestone: Chaos Calmer (trunk)
Component: kernel | Version: Trunk
Resolution: | Keywords: Kernel bug swapper Not tainted
---------------------------+--------------------------------------------
Comment (by anonymous):
i found the WARNING is form ./linux-3.18.14/kernel/softirq.c line 147 :
void __local_bh_enable_ip(unsigned long ip, unsigned int cnt)
{
'''WARN_ON_ONCE(in_irq() || irqs_disabled());'''
#ifdef CONFIG_TRACE_IRQFLAGS
local_irq_disable();
...
There is supposed to trun on the irqs.
BUT,
in ./compat-wireless-2015-03-09/net/mac80211/rate.h line 69 :
static inline void
rate_control_tx_status_noskb(struct ieee80211_local *local,
struct ieee80211_supported_band *sband,
struct sta_info *sta,
struct ieee80211_tx_info *info)
{
struct rate_control_ref *ref = local->rate_ctrl;
struct ieee80211_sta *ista = &sta->sta;
void *priv_sta = sta->rate_ctrl_priv;
if (!ref || !test_sta_flag(sta, WLAN_STA_RATE_CONTROL))
return;
if (WARN_ON_ONCE(!ref->ops->tx_status_noskb))
return;
'''spin_lock_bh(&sta->rate_ctrl_lock);'''
ref->ops->tx_status_noskb(ref->priv, sband, ista,
priv_sta, info);
'''spin_unlock_bh(&sta->rate_ctrl_lock);'''
}
is it turn off the irqs in here ?
--
Ticket URL: <https://dev.openwrt.org/ticket/19733#comment:2>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets