Commit 8b4d14d8 authored by JunweiZhang's avatar JunweiZhang Committed by Simon Horman
Browse files

netns: exclude ipvs from struct net when IPVS disabled

no real problem is fixed, just save a few bytes in
net_namespace structure.
Signed-off-by: default avatarJunweiZhang <>
Signed-off-by: default avatarNicolas Dichtel <>
Reviewed-by: default avatarJulian Anastasov <>
Signed-off-by: default avatarSimon Horman <>
parent d0667186
...@@ -115,7 +115,9 @@ struct net { ...@@ -115,7 +115,9 @@ struct net {
struct netns_xfrm xfrm; struct netns_xfrm xfrm;
#endif #endif
struct netns_ipvs *ipvs; struct netns_ipvs *ipvs;
struct sock *diag_nlsk; struct sock *diag_nlsk;
atomic_t rt_genid; atomic_t rt_genid;
atomic_t fnhe_genid; atomic_t fnhe_genid;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment