[ovs-dev] [PATCH 2/3] dpif-netlink: fix report_loss() message
Mark Gray
mark.d.gray at redhat.com
Wed Jun 30 09:56:10 UTC 2021
Fixes: 1579cf677fcb ("dpif-linux: Implement the API functions to allow multiple handler threads read upcall.")
Signed-off-by: Mark Gray <mark.d.gray at redhat.com>
---
Notes:
v1 - Reworked based on Flavio's comments:
* Added "Fixes" tag
lib/dpif-netlink.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/dpif-netlink.c b/lib/dpif-netlink.c
index 73d5608a81a2..f92905dd83fd 100644
--- a/lib/dpif-netlink.c
+++ b/lib/dpif-netlink.c
@@ -4666,7 +4666,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);
}
--
2.27.0
More information about the dev
mailing list