From: Eric Dumazet Date: Tue, 27 Aug 2019 07:08:12 +0000 (-0700) Subject: ipv6: shrink struct ipv6_mc_socklist X-Git-Tag: Ubuntu-5.13.0-19.19~7681^2~137 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=14105c191e09b698782026827dbac966cbd30446;p=mirror_ubuntu-jammy-kernel.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 Signed-off-by: David S. Miller --- 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; };