Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
odp-util: Avoid revalidation error for masked NSH set action.
A masked NSH set action has mdtype 0 because the mdtype is not being changed, but odp_nsh_key_from_attr() rejects this because mdtype 0 does not match up with the OVS_NSH_KEY_ATTR_MD1 attribute being present. This fixes the problem. The kernel datapath in flow_netlink function nsh_key_put_from_nlattr() has a similar exception. Acked-by: Justin Pettit <[email protected]> Signed-off-by: Ben Pfaff <[email protected]>
- Loading branch information