X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fofproto-dpif.c;h=8088c68d6572d895466ccf79a70305846a834d05;hb=6c222e55fa4222c6724094e1e7a0a69addf6b030;hp=55d109f38a860dd1f5a62b67fd219c53bfc732fd;hpb=eb3e79c09d3f9fa5507d866b62d93eb09e93d4f3;p=sliver-openvswitch.git diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index 55d109f38..8088c68d6 100644 --- a/ofproto/ofproto-dpif.c +++ b/ofproto/ofproto-dpif.c @@ -3007,18 +3007,6 @@ xlate_nicira_action(struct action_xlate_ctx *ctx, ctx->flow.tun_id = tun_id; break; - case NXAST_DROP_SPOOFED_ARP: - if (ctx->flow.dl_type == htons(ETH_TYPE_ARP)) { - /* XXX: It's not entirely clear whether or not we need to commit - * here. The safer thing to do is commit of course. Hopefully in - * the near future we can rip out NXAST_DROP_SPOOFED_ARP altogether - * and the point will be moot. */ - commit_odp_actions(ctx); - nl_msg_put_flag(ctx->odp_actions, - ODP_ACTION_ATTR_DROP_SPOOFED_ARP); - } - break; - case NXAST_SET_QUEUE: nasq = (const struct nx_action_set_queue *) nah; xlate_set_queue_action(ctx, nasq); @@ -3061,6 +3049,7 @@ xlate_nicira_action(struct action_xlate_ctx *ctx, * update the flow key in ctx->flow at the same time. */ case NXAST_SNAT__OBSOLETE: + case NXAST_DROP_SPOOFED_ARP__OBSOLETE: default: VLOG_DBG_RL(&rl, "unknown Nicira action type %d", (int) subtype); break;