Ver código fonte

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>
Eric Dumazet 10 anos atrás
pai
commit
6aa6395ff3
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      drivers/net/ipvlan/ipvlan.h

+ 1 - 1
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;