datapath: Avoid skb-clone in upcall
[openvswitch] / lib / ofp-util.c
index 5f7937f642e26516ad3e788994cb491cb507d8b2..52a996a54cc7acfab9ef0d5b9f66aaf71eef039a 100644 (file)
@@ -1868,7 +1868,7 @@ make_packet_out(const struct ofpbuf *packet, uint32_t buffer_id,
     opo->header.length = htons(size);
     opo->header.xid = htonl(0);
     opo->buffer_id = htonl(buffer_id);
-    opo->in_port = htons(in_port == OVSP_LOCAL ? OFPP_LOCAL : in_port);
+    opo->in_port = htons(in_port);
     opo->actions_len = htons(actions_len);
     ofpbuf_put(out, actions, actions_len);
     if (packet) {