mac80211: serialize rx path workers
[deliverable/linux.git] / net / mac80211 / ieee80211_i.h
index a9eb67380da6c9de83f54bdc47927012f68ca7af..1bf2fc8b9bde4b1cda6a47a63080d86b0e8179f5 100644 (file)
@@ -761,6 +761,15 @@ struct ieee80211_local {
        struct sk_buff_head skb_queue;
        struct sk_buff_head skb_queue_unreliable;
 
+       /*
+        * Internal FIFO queue which is shared between multiple rx path
+        * stages. Its main task is to provide a serialization mechanism,
+        * so all rx handlers can enjoy having exclusive access to their
+        * private data structures.
+        */
+       struct sk_buff_head rx_skb_queue;
+       bool running_rx_handler;        /* protected by rx_skb_queue.lock */
+
        /* Station data */
        /*
         * The mutex only protects the list and counter,
This page took 0.02405 seconds and 5 git commands to generate.