sorry, just realized skb_dequeue() will call spin_lock_irqsave() inside. please ignore this question. On Sat, Sep 9, 2017 at 9:28 AM, dztemplor . <zdu.shanghai@xxxxxxxxx> wrote: > Hi, everyone. > I'm a newbie in mac80211 and have a question about synchronization for > sdata->skb_queue. > sdata->skb_queue is shared between ieee80211_iface_work() and rx > handlers like ieee80211_rx_h_action() > ieee80211_iface_work() runs in process context. > ieee80211_rx_h_action() runs in softirq context. > why there is no spin_lock_bh() in ieee80211_iface_work() when it > dequeues from sdata->skb_queue? > I know the question may sounds stupid, will appreciate if anyone can > explain to me. > > Regards, > Spike.