diff options
author | Krzysztof Wilczynski <krzysztof.wilczynski@linux.com> | 2011-10-20 08:18:04 -0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2011-11-01 04:20:01 -0400 |
commit | e23ebf0fa9e1548c94d8277e393be97ba48faa06 (patch) | |
tree | 713ce3bcb7a81636c6faf377f503cdefc9c71576 /include | |
parent | ad542ced254f1c8560260e209f0f0d69dbae49e4 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/ip_vs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index a6b8b47e41af..05b08c926ade 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h | |||
@@ -1396,7 +1396,7 @@ static inline void ip_vs_update_conntrack(struct sk_buff *skb, | |||
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 | return NF_ACCEPT; | 1401 | return NF_ACCEPT; |
1402 | } | 1402 | } |