From: Ben Pfaff Date: Wed, 5 Sep 2012 18:02:27 +0000 (-0700) Subject: dpif-linux: Report packet loss as WARN instead of ERR. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d0abb5ef553bc4a43f0df7f7398142b9600294b;p=openvswitch dpif-linux: Report packet loss as WARN instead of ERR. Packet loss is recoverable so it doesn't warrant an ERR. Bug #12920. Reported-by: Scott Hendricks Signed-off-by: Ben Pfaff --- diff --git a/lib/dpif-linux.c b/lib/dpif-linux.c index d9c50ccd..a2eb490a 100644 --- a/lib/dpif-linux.c +++ b/lib/dpif-linux.c @@ -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); }