From 04d75c48a6408b656c694d4a3342e74c200c2d91 Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Fri, 25 Jan 2013 14:29:41 -0800 Subject: [PATCH] dpif-linux: Report dropped lost messages at WARN level. Messages about packets being lost are logged at level WARN, but when they were generated at a high rate, those consolidated messages were logged at ERR. This changes to consolidated messages to be logged at WARN, too. Thanks to Ben Pfaff for quickly suggesting the culprit. Bug #14783 Reported-by: James Schmidt Signed-off-by: Justin Pettit --- lib/dpif-linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dpif-linux.c b/lib/dpif-linux.c index a058ee7f8..1519eb2b9 100644 --- a/lib/dpif-linux.c +++ b/lib/dpif-linux.c @@ -1973,7 +1973,7 @@ report_loss(struct dpif *dpif_, struct dpif_channel *ch) struct dpif_sketch *sk; struct ds s; - if (VLOG_DROP_ERR(&rl)) { + if (VLOG_DROP_WARN(&rl)) { return; } -- 2.20.1