Search Linux Wireless

Re: synchronization question about sdata->skb_queue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux