diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/ip_vs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index 77ebece7e68c..299aeb537899 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h | |||
@@ -1359,7 +1359,11 @@ static inline void ip_vs_notrack(struct sk_buff *skb) | |||
1359 | */ | 1359 | */ |
1360 | static inline int ip_vs_conntrack_enabled(struct netns_ipvs *ipvs) | 1360 | static inline int ip_vs_conntrack_enabled(struct netns_ipvs *ipvs) |
1361 | { | 1361 | { |
1362 | #ifdef CONFIG_SYSCTL | ||
1362 | return ipvs->sysctl_conntrack; | 1363 | return ipvs->sysctl_conntrack; |
1364 | #else | ||
1365 | return 0; | ||
1366 | #endif | ||
1363 | } | 1367 | } |
1364 | 1368 | ||
1365 | extern void ip_vs_update_conntrack(struct sk_buff *skb, struct ip_vs_conn *cp, | 1369 | extern void ip_vs_update_conntrack(struct sk_buff *skb, struct ip_vs_conn *cp, |