]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/linux/if_macvlan.h
macvtap: slient sparse warnings
[linux.git] / include / linux / if_macvlan.h
index 19121331a5ed860919d684eb03b862dbaaf53660..f49a9f66c3d901397603ffb8916fa70f0fd68c68 100644 (file)
@@ -70,7 +70,7 @@ struct macvlan_dev {
        int (*receive)(struct sk_buff *skb);
        int (*forward)(struct net_device *dev, struct sk_buff *skb);
        /* This array tracks active taps. */
-       struct macvtap_queue    *taps[MAX_MACVTAP_QUEUES];
+       struct macvtap_queue    __rcu *taps[MAX_MACVTAP_QUEUES];
        /* This list tracks all taps (both enabled and disabled) */
        struct list_head        queue_list;
        int                     numvtaps;