RTNL ops validate and newlink now include the extended netlink ack feature. Check for it and set HAVE_EXT_ACK_IN_RTNL_LINKOPS if found.
Signed-off-by: Greg Rose <gvrose8...@gmail.com> --- acinclude.m4 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/acinclude.m4 b/acinclude.m4 index 772ff03..46efa69 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -771,6 +771,12 @@ AC_DEFUN([OVS_CHECK_LINUX_COMPAT], [ [OVS_DEFINE([HAVE_SKB_GSO_UDP])]) OVS_GREP_IFELSE([$KSRC/include/net/dst.h],[DST_NOCACHE], [OVS_DEFINE([HAVE_DST_NOCACHE])]) + OVS_FIND_FIELD_IFELSE([$KSRC/include/net/rtnetlink.h], [rtnl_link_ops], + [extack], + [OVS_DEFINE([HAVE_EXT_ACK_IN_RTNL_LINKOPS])]) + OVS_FIND_FIELD_IFELSE([$KSRC/include/linux/netfilter.h], [nf_hook_ops], + [list], + [OVS_DEFINE([HAVE_LIST_IN_NF_HOOK_OPS])]) if cmp -s datapath/linux/kcompat.h.new \ -- 1.8.3.1 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev