mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
00ebd4998b
commit
14105c191e
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue