X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Flearning-switch.c;h=e003b8f994cfac8637ce4993e94f3e9f469f3c75;hb=76ea8efd442a403f8e874cd4103dafe2479b6a57;hp=97aaf9fe50c576270d9a32c905f77734c6cfd9fb;hpb=1bfe968160d7cc030e44481ba3a2ac68824c2869;p=openvswitch diff --git a/lib/learning-switch.c b/lib/learning-switch.c index 97aaf9fe..e003b8f9 100644 --- a/lib/learning-switch.c +++ b/lib/learning-switch.c @@ -238,7 +238,6 @@ lswitch_process_packet(struct lswitch *sw, struct rconn *rconn, case OFPUTIL_OFPST_PORT_REPLY: case OFPUTIL_OFPST_TABLE_REPLY: case OFPUTIL_OFPST_AGGREGATE_REPLY: - case OFPUTIL_NXT_TUN_ID_FROM_COOKIE: case OFPUTIL_NXT_ROLE_REQUEST: case OFPUTIL_NXT_ROLE_REPLY: case OFPUTIL_NXT_SET_FLOW_FORMAT: @@ -440,7 +439,6 @@ process_packet_in(struct lswitch *sw, struct rconn *rconn, /* Send the packet, and possibly the whole flow, to the output port. */ if (sw->max_idle >= 0 && (!sw->ml || out_port != OFPP_FLOOD)) { struct ofpbuf *buffer; - struct ofp_flow_mod *ofm; struct cls_rule rule; /* The output port is known, or we always flood everything, so add a @@ -449,7 +447,6 @@ process_packet_in(struct lswitch *sw, struct rconn *rconn, buffer = make_add_flow(&rule, ntohl(opi->buffer_id), sw->max_idle, actions_len); ofpbuf_put(buffer, actions, actions_len); - ofm = buffer->data; queue_tx(sw, rconn, buffer); /* If the switch didn't buffer the packet, we need to send a copy. */