summaryrefslogtreecommitdiff
path: root/datapath-windows/ovsext/Netlink
diff options
context:
space:
mode:
authorSorin Vinturis <svinturis@cloudbasesolutions.com>2016-02-02 10:41:28 +0000
committerGurucharan Shetty <guru@ovn.org>2016-02-02 08:25:10 -0800
commita36c1701a6218a97080fda2d386cfc4db97c5bce (patch)
treeb56d29f3eb93794cdd5f880b9ce8be9282e2476d /datapath-windows/ovsext/Netlink
parent5874d571188500ec7aa6d98c778347c6774c3a24 (diff)
downloadopenvswitch-a36c1701a6218a97080fda2d386cfc4db97c5bce.tar.gz
datapath-windows: Accept MPLS feature probe.
Currently all feature probe messages sent from userspace are suppressed by the OVS extension. This patch changes the current behaviour to allow feature probe for MPLS. Signed-off-by: Sorin Vinturis <svinturis@cloudbasesolutions.com> Acked-by: Nithin Raju <nithin@vmware.com> Signed-off-by: Gurucharan Shetty <guru@ovn.org>
Diffstat (limited to 'datapath-windows/ovsext/Netlink')
-rw-r--r--datapath-windows/ovsext/Netlink/NetlinkError.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/datapath-windows/ovsext/Netlink/NetlinkError.h b/datapath-windows/ovsext/Netlink/NetlinkError.h
index eefa89e34..36115c802 100644
--- a/datapath-windows/ovsext/Netlink/NetlinkError.h
+++ b/datapath-windows/ovsext/Netlink/NetlinkError.h
@@ -229,6 +229,9 @@ NlMapStatusToNlErr(NTSTATUS status)
case STATUS_OBJECT_NAME_EXISTS:
ret = NL_ERROR_EXIST;
break;
+ case STATUS_INVALID_MESSAGE:
+ ret = NL_ERROR_BADMSG;
+ break;
default:
ret = NL_ERROR_OTHER;
break;