aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2019-08-27 00:08:12 -0700
committerDavid S. Miller <davem@davemloft.net>2019-08-28 14:43:03 -0700
commit14105c191e09b698782026827dbac966cbd30446 (patch)
tree5a22577358622ff93f8d046d3331e47e7a5c9aa9
parentMerge branch 'stmmac-Add-EHL-and-TGL-PCI-info-and-PCI-ID' (diff)
downloadlinux-dev-14105c191e09b698782026827dbac966cbd30446.tar.xz
linux-dev-14105c191e09b698782026827dbac966cbd30446.zip
ipv6: shrink struct ipv6_mc_socklist
Remove two holes on 64bit arches, to bring the size to one cache line exactly. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/net/if_inet6.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/if_inet6.h b/include/net/if_inet6.h
index 50037913c9b1..a01981d7108f 100644
--- a/include/net/if_inet6.h
+++ b/include/net/if_inet6.h
@@ -89,9 +89,9 @@ struct ip6_sf_socklist {
struct ipv6_mc_socklist {
struct in6_addr addr;
int ifindex;
+ unsigned int sfmode; /* MCAST_{INCLUDE,EXCLUDE} */
struct ipv6_mc_socklist __rcu *next;
rwlock_t sflock;
- unsigned int sfmode; /* MCAST_{INCLUDE,EXCLUDE} */
struct ip6_sf_socklist *sflist;
struct rcu_head rcu;
};