Commit 246f19d194ec99ee8992106e129a133142dc6a10

Authored by Arnaldo Carvalho de Melo
Committed by David S. Miller
1 parent ad8bb78083

[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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

include/net/if_inet6.h
... ... @@ -112,13 +112,13 @@
112 112 struct ip6_sf_list *mca_sources;
113 113 struct ip6_sf_list *mca_tomb;
114 114 unsigned int mca_sfmode;
  115 + unsigned char mca_crcount;
115 116 unsigned long mca_sfcount[2];
116 117 struct timer_list mca_timer;
117 118 unsigned mca_flags;
118 119 int mca_users;
119 120 atomic_t mca_refcnt;
120 121 spinlock_t mca_lock;
121   - unsigned char mca_crcount;
122 122 unsigned long mca_cstamp;
123 123 unsigned long mca_tstamp;
124 124 };