Skip to content

Commit 246f19d

Browse files
acmeldavem330
authored andcommitted
[IPV6]: Reorg struct ifmcaddr6 to save some bytes
/home/acme/git/net-2.6/net/ipv6/mcast.c: struct ifmcaddr6 | -8 1 struct changed igmp6_group_dropped | -6 add_grec | -3 mld_ifc_timer_expire | -18 ip6_mc_add_src | -3 ip6_mc_del_src | -3 igmp6_group_added | -3 6 functions changed, 36 bytes removed, diff: -36 ipv6.ko: 6 functions changed, 36 bytes removed, diff: -36 Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent ad8bb78 commit 246f19d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/net/if_inet6.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,13 @@ struct ifmcaddr6
112112
struct ip6_sf_list *mca_sources;
113113
struct ip6_sf_list *mca_tomb;
114114
unsigned int mca_sfmode;
115+
unsigned char mca_crcount;
115116
unsigned long mca_sfcount[2];
116117
struct timer_list mca_timer;
117118
unsigned mca_flags;
118119
int mca_users;
119120
atomic_t mca_refcnt;
120121
spinlock_t mca_lock;
121-
unsigned char mca_crcount;
122122
unsigned long mca_cstamp;
123123
unsigned long mca_tstamp;
124124
};

0 commit comments

Comments
 (0)