X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fdpif-linux.c;h=3a4a4e6d2fdcb88a4efe00d7d1505ea2b4f14720;hb=ad4c35fe2dd8edaab6331667021b6b8410abde90;hp=d9c50ccdf5f0d35738d0492a2abcb39d917798da;hpb=ebc56baa41db060b8783051e67b6fcbc148ebd60;p=openvswitch diff --git a/lib/dpif-linux.c b/lib/dpif-linux.c index d9c50ccd..3a4a4e6d 100644 --- a/lib/dpif-linux.c +++ b/lib/dpif-linux.c @@ -1399,7 +1399,7 @@ dpif_linux_vport_send(int dp_ifindex, uint32_t port_no, uint64_t action; ofpbuf_use_const(&packet, data, size); - flow_extract(&packet, 0, htonll(0), 0, &flow); + flow_extract(&packet, 0, NULL, 0, &flow); ofpbuf_use_stack(&key, &keybuf, sizeof keybuf); odp_flow_key_from_flow(&key, &flow); @@ -2002,7 +2002,7 @@ report_loss(struct dpif *dpif_, struct dpif_channel *ch) } ds_chomp(&s, ','); - VLOG_ERR("%s: lost packet on channel %td%s", - dpif_name(dpif_), ch - dpif->channels, ds_cstr(&s)); + VLOG_WARN("%s: lost packet on channel %td%s", + dpif_name(dpif_), ch - dpif->channels, ds_cstr(&s)); ds_destroy(&s); }