The RTPROT_OVN value has been merged to the net-next tree [1]. Until it is available on all systems we need to forward declares this value.
[1]: https://web.git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=6002850fdfe0b4343136670a9895b6ba4ee3285b Signed-off-by: Felix Huettner <[email protected]> --- v1->v2: use ifndef instead of dependency to ovs controller/route-exchange-netlink.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/controller/route-exchange-netlink.h b/controller/route-exchange-netlink.h index 1eadde491..7736168cc 100644 --- a/controller/route-exchange-netlink.h +++ b/controller/route-exchange-netlink.h @@ -23,11 +23,11 @@ #include <netinet/in.h> #include <net/if.h> -/* This value is arbitrary but currently unused. - * See the kernel rtnetlink UAPI at - * https://github.com/torvalds/linux/blob/master/include/uapi/linux/rtnetlink.h - * */ +/* These will be introduced in Linux 6.15, so they might be missing if we have + * old headers. */ +#ifndef RTPROT_OVN #define RTPROT_OVN 84 +#endif struct in6_addr; struct hmap; -- 2.48.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
