Skip to contentSkip to conversation

ipv4/igmp: shrink struct ip_sf_list

PATCH Applied Eric Dumazet 2 participants 2 messages May 22, 2019 – May 23, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ipv4/igmp: shrink struct ip_sf_list

Removing two 4 bytes holes allows to use kmalloc-32 kmem cache instead of kmalloc-64 on 64bit kernels.

---
 include/linux/igmp.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/igmp.h +1 -1
index 9c94b2ea789ceb9a06d9da0d8b07d28801732930..6649cb78de4ae5c3973337f3c23a7c184df90932 100644
@@ -65,8 +65,8 @@ struct ip_mc_socklist {
 
 struct ip_sf_list {
 	struct ip_sf_list	*sf_next;
-	__be32			sf_inaddr;
 	unsigned long		sf_count[2];	/* include/exclude counts */
+	__be32			sf_inaddr;
 	unsigned char		sf_gsresp;	/* include in g & s response? */
 	unsigned char		sf_oldin;	/* change state */
 	unsigned char		sf_crcount;	/* retrans. left to send */
Signature · 1 line
2.21.0.1020.gf2820cf01a-goog