]> git.proxmox.com Git - mirror_ovs.git/commit
ofproto-dpif: Allow IPv6 ND Extensions only if supported
authorFlavio Leitner <fbl@sysclose.org>
Wed, 20 Nov 2019 14:21:13 +0000 (11:21 -0300)
committerBen Pfaff <blp@ovn.org>
Fri, 22 Nov 2019 01:15:47 +0000 (17:15 -0800)
commitd0d571493cf8280cfec6a5f34b175162ddf69459
treef90ef288d94dea99217a33b6b1adb605b57e7315
parent9f72e505d65b839e6e2fb9577c4d46d9e010d05b
ofproto-dpif: Allow IPv6 ND Extensions only if supported

The IPv6 ND Extensions is only implemented in userspace datapath,
but nothing prevents that to be used with other datapaths.

This patch probes the datapath and only allows if the support
is available.

Fixes: 9b2b84973 ("Support for match & set ICMPv6 reserved and options type fields")
Acked-by: Eelco Chaudron <echaudro@redhat.com>
Acked-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: Flavio Leitner <fbl@sysclose.org>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/odp-util.c
lib/odp-util.h
ofproto/ofproto-dpif.c
tests/test-odp.c