summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2015-02-12 04:51:46 +0100
committerDavid S. Miller <davem@davemloft.net>2015-02-12 05:03:23 +0100
commit6aa6395ff320abe242e05766ae201f23e7978a94 (patch)
treeb18cbe4efdf51e5f77e9119af9085fa3680a7457
parenttg3: Hold tp->lock before calling tg3_halt() from tg3_init_one() (diff)
downloadlinux-6aa6395ff320abe242e05766ae201f23e7978a94.tar.xz
linux-6aa6395ff320abe242e05766ae201f23e7978a94.zip
ipvlan: add a missing __percpu pcpu_stats
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>
-rw-r--r--drivers/net/ipvlan/ipvlan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ipvlan/ipvlan.h b/drivers/net/ipvlan/ipvlan.h
index 2729f64b3e7e..924ea98bd531 100644
--- a/drivers/net/ipvlan/ipvlan.h
+++ b/drivers/net/ipvlan/ipvlan.h
@@ -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;