aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/veth.c2
-rw-r--r--net/ipv4/ip_gre.c2
-rw-r--r--net/ipv4/ipip.c2
-rw-r--r--net/ipv6/ip6_tunnel.c2
-rw-r--r--net/ipv6/sit.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/veth.c b/drivers/net/veth.c
index ef883e97cee0..726c790ec74c 100644
--- a/drivers/net/veth.c
+++ b/drivers/net/veth.c
@@ -27,8 +27,8 @@
27 27
28struct veth_net_stats { 28struct veth_net_stats {
29 u64 rx_packets; 29 u64 rx_packets;
30 u64 tx_packets;
31 u64 rx_bytes; 30 u64 rx_bytes;
31 u64 tx_packets;
32 u64 tx_bytes; 32 u64 tx_bytes;
33 u64 rx_dropped; 33 u64 rx_dropped;
34 struct u64_stats_sync syncp; 34 struct u64_stats_sync syncp;
diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c
index d55110e93120..38f7c07d12ab 100644
--- a/net/ipv4/ip_gre.c
+++ b/net/ipv4/ip_gre.c
@@ -171,7 +171,7 @@ struct pcpu_tstats {
171 unsigned long rx_bytes; 171 unsigned long rx_bytes;
172 unsigned long tx_packets; 172 unsigned long tx_packets;
173 unsigned long tx_bytes; 173 unsigned long tx_bytes;
174}; 174} __attribute__((aligned(4*sizeof(unsigned long))));
175 175
176static struct net_device_stats *ipgre_get_stats(struct net_device *dev) 176static struct net_device_stats *ipgre_get_stats(struct net_device *dev)
177{ 177{
diff --git a/net/ipv4/ipip.c b/net/ipv4/ipip.c
index 065effd8349a..94906908a416 100644
--- a/net/ipv4/ipip.c
+++ b/net/ipv4/ipip.c
@@ -148,7 +148,7 @@ struct pcpu_tstats {
148 unsigned long rx_bytes; 148 unsigned long rx_bytes;
149 unsigned long tx_packets; 149 unsigned long tx_packets;
150 unsigned long tx_bytes; 150 unsigned long tx_bytes;
151}; 151} __attribute__((aligned(4*sizeof(unsigned long))));
152 152
153static struct net_device_stats *ipip_get_stats(struct net_device *dev) 153static struct net_device_stats *ipip_get_stats(struct net_device *dev)
154{ 154{
diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c
index bdc15c9003d7..f36ca1397513 100644
--- a/net/ipv6/ip6_tunnel.c
+++ b/net/ipv6/ip6_tunnel.c
@@ -93,7 +93,7 @@ struct pcpu_tstats {
93 unsigned long rx_bytes; 93 unsigned long rx_bytes;
94 unsigned long tx_packets; 94 unsigned long tx_packets;
95 unsigned long tx_bytes; 95 unsigned long tx_bytes;
96}; 96} __attribute__((aligned(4*sizeof(unsigned long))));
97 97
98static struct net_device_stats *ip6_get_stats(struct net_device *dev) 98static struct net_device_stats *ip6_get_stats(struct net_device *dev)
99{ 99{
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c
index a7a18602a046..cec09382282d 100644
--- a/net/ipv6/sit.c
+++ b/net/ipv6/sit.c
@@ -91,7 +91,7 @@ struct pcpu_tstats {
91 unsigned long rx_bytes; 91 unsigned long rx_bytes;
92 unsigned long tx_packets; 92 unsigned long tx_packets;
93 unsigned long tx_bytes; 93 unsigned long tx_bytes;
94}; 94} __attribute__((aligned(4*sizeof(unsigned long))));
95 95
96static struct net_device_stats *ipip6_get_stats(struct net_device *dev) 96static struct net_device_stats *ipip6_get_stats(struct net_device *dev)
97{ 97{