On Thu, Apr 27, 2017 at 1:08 PM, Greg Rose <gvrose8...@gmail.com> wrote:
> The net parameter was added to nf_defrag_ipv6_enable in linux 4.10
>
> Signed-off-by: Greg Rose <gvrose8...@gmail.com>

Thanks for working on this!

It seems odd that we only detect the signatures of a ipv6 function,
then apply it for ipv4l.
In practice, they are both introduced in 4.10, and will probably be
back ported together.
So it may be O.K.  On the other hand, the cost of adding another
#define seems small.

> ---
>  acinclude.m4 | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/acinclude.m4 b/acinclude.m4
> index 0d6647e..8653a30 100644
> --- a/acinclude.m4
> +++ b/acinclude.m4
> @@ -703,7 +703,9 @@ AC_DEFUN([OVS_CHECK_LINUX_COMPAT], [
>    OVS_FIND_PARAM_IFELSE([$KSRC/include/net/protocol.h],
>                          [udp_add_offload], [net],
>                          [OVS_DEFINE([HAVE_UDP_ADD_OFFLOAD_TAKES_NET])])
> -
> +  OVS_FIND_PARAM_IFELSE([$KSRC/include/net/netfilter/ipv6/nf_defrag_ipv6.h],
> +                        [nf_defrag_ipv6_enable], [net],
> +                        [OVS_DEFINE([HAVE_DEFRAG_ENABLE_TAKES_NET])])
>
>    if cmp -s datapath/linux/kcompat.h.new \
>              datapath/linux/kcompat.h >/dev/null 2>&1; then
> --
> 1.8.3.1
>
> _______________________________________________
> dev mailing list
> d...@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to