projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00ebd49
)
ipv6: shrink struct ipv6_mc_socklist
author
Eric Dumazet
<edumazet@google.com>
Tue, 27 Aug 2019 07:08:12 +0000
(
00:08
-0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 28 Aug 2019 21:43:03 +0000
(14:43 -0700)
Remove two holes on 64bit arches, to bring the size
to one cache line exactly.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/if_inet6.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/if_inet6.h
b/include/net/if_inet6.h
index 50037913c9b191cb3793e3f072104c10c4257ff2..a01981d7108f96075b6939f4a78f14e7afe93a4e 100644
(file)
--- 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;
};