ipv4/igmp: shrink struct ip_sf_list
authorEric Dumazet <edumazet@google.com>
Wed, 22 May 2019 22:00:25 +0000 (15:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 May 2019 00:57:37 +0000 (17:57 -0700)
Removing two 4 bytes holes allows to use kmalloc-32
kmem cache instead of kmalloc-64 on 64bit kernels.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/igmp.h

index 9c94b2e..6649cb7 100644 (file)
@@ -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 */