With recirculation in place this should be safe.
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
break;
case OFPUTIL_NXAST_POP_MPLS:
- if (eth_type_mpls(a->pop_mpls.ethertype)) {
- return OFPERR_OFPBAC_BAD_ARGUMENT;
- }
ofpact_put_POP_MPLS(out)->ethertype = a->pop_mpls.ethertype;
break;
break;
case OFPUTIL_OFPAT11_POP_MPLS:
- if (eth_type_mpls(a->ofp11_pop_mpls.ethertype)) {
- return OFPERR_OFPBAC_BAD_ARGUMENT;
- }
ofpact_put_POP_MPLS(out)->ethertype = a->ofp11_pop_mpls.ethertype;
break;