diff options
author | Jarno Rajahalme <jarno@ovn.org> | 2016-06-20 18:51:06 -0700 |
---|---|---|
committer | Jarno Rajahalme <jarno@ovn.org> | 2016-06-20 18:51:06 -0700 |
commit | 0d330e4299934bda2efa1bd1ffb20621c24312fd (patch) | |
tree | b0811b74a28bb97cbda945e1a051e87d0359afda /acinclude.m4 | |
parent | 71ce9eddafef87952fcdfb65a3d998c67fcd7901 (diff) | |
download | openvswitch-0d330e4299934bda2efa1bd1ffb20621c24312fd.tar.gz |
datapath: compat for NAT.
Compat code required to make the NAT code in the following patch
compile with Linux 3.10 - 4.6.
Some compat code applies to the conntrack.c itself; these are added
after the main NAT backport for conntrack.c later in the series.
Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Acked-by: Jesse Gross <jesse@kernel.org>
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index eff981791..6b6e06378 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -472,6 +472,9 @@ AC_DEFUN([OVS_CHECK_LINUX_COMPAT], [ [nf_ct_frag6_consume_orig]) OVS_GREP_IFELSE([$KSRC/include/net/netfilter/ipv6/nf_defrag_ipv6.h], [nf_ct_frag6_output]) + OVS_GREP_IFELSE([$KSRC/include/net/netfilter/nf_nat.h], [nf_ct_nat_ext_add]) + OVS_GREP_IFELSE([$KSRC/include/net/netfilter/nf_nat.h], [nf_nat_alloc_null_binding]) + OVS_GREP_IFELSE([$KSRC/include/net/netfilter/nf_conntrack_seqadj.h], [nf_ct_seq_adjust]) OVS_GREP_IFELSE([$KSRC/include/linux/random.h], [prandom_u32]) OVS_GREP_IFELSE([$KSRC/include/linux/random.h], [prandom_u32_max]) |