summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Gray <mark.d.gray@redhat.com>2021-07-16 06:17:35 -0400
committerIlya Maximets <i.maximets@ovn.org>2021-07-16 20:04:45 +0200
commit9b1c0df6ad13773b43592c51a0e19a988aca747c (patch)
tree89b9d7d19333090ce2cdd08f32eb7c4b865d3733
parent17e98772cba38da159f6f3a2c8d8ae4010fd4ada (diff)
downloadopenvswitch-9b1c0df6ad13773b43592c51a0e19a988aca747c.tar.gz
dpif-netlink: Fix report_loss() message.
Fixes: 1579cf677fcb ("dpif-linux: Implement the API functions to allow multiple handler threads read upcall.") Signed-off-by: Mark Gray <mark.d.gray@redhat.com> Acked-by: Flavio Leitner <fbl@sysclose.org> Acked-by: Aaron Conole <aconole@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
-rw-r--r--lib/dpif-netlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dpif-netlink.c b/lib/dpif-netlink.c
index 95507f395..2c6c23c64 100644
--- a/lib/dpif-netlink.c
+++ b/lib/dpif-netlink.c
@@ -4663,7 +4663,7 @@ report_loss(struct dpif_netlink *dpif, struct dpif_channel *ch, uint32_t ch_idx,
time_msec() - ch->last_poll);
}
- VLOG_WARN("%s: lost packet on port channel %u of handler %u",
- dpif_name(&dpif->dpif), ch_idx, handler_id);
+ VLOG_WARN("%s: lost packet on port channel %u of handler %u%s",
+ dpif_name(&dpif->dpif), ch_idx, handler_id, ds_cstr(&s));
ds_destroy(&s);
}