projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d066718
)
netns: exclude ipvs from struct net when IPVS disabled
author
JunweiZhang
<junwei.zhang@6wind.com>
Wed, 26 Jun 2013 08:40:06 +0000
(16:40 +0800)
committer
Simon Horman
<horms@verge.net.au>
Wed, 26 Jun 2013 09:01:46 +0000
(18:01 +0900)
no real problem is fixed, just save a few bytes in
net_namespace structure.
Signed-off-by: JunweiZhang <junwei.zhang@6wind.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Reviewed-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
include/net/net_namespace.h
patch
|
blob
|
history
diff --git
a/include/net/net_namespace.h
b/include/net/net_namespace.h
index
495bc57
..
84e37b1
100644
(file)
--- a/
include/net/net_namespace.h
+++ b/
include/net/net_namespace.h
@@
-115,7
+115,9
@@
struct net {
#ifdef CONFIG_XFRM
struct netns_xfrm xfrm;
#endif
+#if IS_ENABLED(CONFIG_IP_VS)
struct netns_ipvs *ipvs;
+#endif
struct sock *diag_nlsk;
atomic_t rt_genid;
atomic_t fnhe_genid;