ipvlan: add a missing __percpu pcpu_stats
authorEric Dumazet <edumazet@google.com>
Thu, 12 Feb 2015 03:51:46 +0000 (19:51 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Feb 2015 04:03:23 +0000 (20:03 -0800)
Cosmetic patch to add __percpu qualifier to pcpu_stats

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipvlan/ipvlan.h

index 2729f64..924ea98 100644 (file)
@@ -67,7 +67,7 @@ struct ipvl_dev {
        struct list_head        addrs;
        int                     ipv4cnt;
        int                     ipv6cnt;
-       struct ipvl_pcpu_stats  *pcpu_stats;
+       struct ipvl_pcpu_stats  __percpu *pcpu_stats;
        DECLARE_BITMAP(mac_filters, IPVLAN_MAC_FILTER_SIZE);
        netdev_features_t       sfeatures;
        u32                     msg_enable;