Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ipvs: Fix compilation error in ip_vs.h for ip_vs_confirm_conntrack function.

This is to address the following error during the compilation:

In file included from kernel/sysctl_binary.c:6:
include/net/ip_vs.h:1406: error: expected identifier or ‘(’ before ‘{’ token
make[1]: *** [kernel/sysctl_binary.o] Error 1
make[1]: *** Waiting for unfinished jobs....

That manifests itself when CONFIG_IP_VS_NFCT is undefined in .config file.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Signed-off-by: Simon Horman <horms@verge.net.au>

authored by

Krzysztof Wilczynski and committed by
Pablo Neira Ayuso
e23ebf0f ad542ced

+1 -1
+1 -1
include/net/ip_vs.h
··· 1396 1396 { 1397 1397 } 1398 1398 1399 - static inline int ip_vs_confirm_conntrack(struct sk_buff *skb); 1399 + static inline int ip_vs_confirm_conntrack(struct sk_buff *skb) 1400 1400 { 1401 1401 return NF_ACCEPT; 1402 1402 }