Commit 14105c19 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

ipv6: shrink struct ipv6_mc_socklist

Remove two holes on 64bit arches, to bring the size
to one cache line exactly.
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 00ebd499
...@@ -89,9 +89,9 @@ struct ip6_sf_socklist { ...@@ -89,9 +89,9 @@ struct ip6_sf_socklist {
struct ipv6_mc_socklist { struct ipv6_mc_socklist {
struct in6_addr addr; struct in6_addr addr;
int ifindex; int ifindex;
unsigned int sfmode; /* MCAST_{INCLUDE,EXCLUDE} */
struct ipv6_mc_socklist __rcu *next; struct ipv6_mc_socklist __rcu *next;
rwlock_t sflock; rwlock_t sflock;
unsigned int sfmode; /* MCAST_{INCLUDE,EXCLUDE} */
struct ip6_sf_socklist *sflist; struct ip6_sf_socklist *sflist;
struct rcu_head rcu; struct rcu_head rcu;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment