Search Linux Wireless

synchronization question about sdata->skb_queue

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

 



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