On 29 January 2016 at 15:09, pravin shelar <pshe...@ovn.org> wrote: > On Mon, Jan 11, 2016 at 5:53 PM, Joe Stringer <j...@ovn.org> wrote: >> Signed-off-by: Joe Stringer <j...@ovn.org> >> --- >> acinclude.m4 | 2 ++ >> datapath/compat.h | 5 +++++ >> datapath/linux/compat/include/linux/netfilter_ipv6.h | 6 +++--- >> datapath/linux/compat/include/net/ip6_route.h | 13 +++++++------ >> datapath/linux/compat/ip6_output.c | 2 +- >> 5 files changed, 18 insertions(+), 10 deletions(-) >> >> diff --git a/acinclude.m4 b/acinclude.m4 >> index 3e3426dcf2b4..bb1d94e2187d 100644 >> --- a/acinclude.m4 >> +++ b/acinclude.m4 >> @@ -389,6 +389,8 @@ AC_DEFUN([OVS_CHECK_LINUX_COMPAT], [ >> OVS_GREP_IFELSE([$KSRC/include/linux/netfilter.h], [nf_register_net_hook]) >> OVS_GREP_IFELSE([$KSRC/include/linux/netfilter.h], >> [nf_hookfn.*nf_hook_ops], >> [OVS_DEFINE([HAVE_NF_HOOKFN_ARG_OPS])]) >> + OVS_GREP_IFELSE([$KSRC/include/linux/netfilter_ipv6.h], [fragment], >> + [OVS_DEFINE([HAVE_NF_IPV6_OPS_FRAGMENT])]) >> > > Why not use OVS_FIND_FIELD_IFELSE macro here?
Thanks for the suggestion, I rolled this fix in. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev