Recirculation feature probe messages sent from userspace are
suppressed by the OVS extension.
This patch changes the current behaviour to allow feature probe
for recirculation.
Signed-off-by: Sorin Vinturis <svinturis@cloudbasesolutions.com>
Acked-by: Sairam Venugopal <vsairam@vmware.com>
Acked-by: Nithin Raju <nithin@vmware.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
OVS_LOG_ERROR("Wrong ethertype for MPLS attribute.");
status = STATUS_INVALID_PARAMETER;
}
+ } else if (keyAttrs[OVS_KEY_ATTR_RECIRC_ID]) {
+ UINT32 recircId = NlAttrGetU32(keyAttrs[OVS_KEY_ATTR_RECIRC_ID]);
+
+ if (!recircId) {
+ OVS_LOG_ERROR("Invalid recirculation ID.");
+ status = STATUS_INVALID_PARAMETER;
+ }
} else {
- OVS_LOG_ERROR("Probed feature not supported.");
+ OVS_LOG_ERROR("Feature not supported.");
status = STATUS_INVALID_PARAMETER;
}