From: Simon Horman <[email protected]> This appears to be the only place where ODPP_NONE is not used but could be.
Signed-off-by: Simon Horman <[email protected]> --- lib/dpif-netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 66ba2c02b3f8..eab849fc7ba1 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -2263,7 +2263,7 @@ dp_netdev_flow_add(struct dp_netdev_pmd_thread *pmd, netdev_flow_key_init_masked(&flow->cr.flow, &match->flow, &mask); /* Select dpcls for in_port. Relies on in_port to be exact match */ - ovs_assert(match->wc.masks.in_port.odp_port == ODP_PORT_C(UINT32_MAX)); + ovs_assert(match->wc.masks.in_port.odp_port == ODPP_NONE); cls = dp_netdev_pmd_find_dpcls(pmd, in_port); dpcls_insert(cls, &flow->cr, &mask); -- 2.7.0.rc3.207.g0ac5344 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
