When DPIF does not support UFID (like old kernels), it may print this message
quite frequently, if using an OVS version that does not include the upstream fix
af50de8 ("ofproto-dpif-upcall: Pass key to dpif_flow_get().").

Signed-off-by: Thadeu Lima de Souza Cascardo <casca...@redhat.com>
Fixes: af50de8 ("ofproto-dpif-upcall: Pass key to dpif_flow_get().")
---
 ofproto/ofproto-dpif-upcall.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c
index 1374950..a18fc5a 100644
--- a/ofproto/ofproto-dpif-upcall.c
+++ b/ofproto/ofproto-dpif-upcall.c
@@ -2056,6 +2056,7 @@ log_unexpected_flow(const struct dpif_flow *flow, int 
error)
                   "unexpected flow (%s): ", ovs_strerror(error));
     odp_format_ufid(&flow->ufid, &ds);
     VLOG_WARN_RL(&rl, "%s", ds_cstr(&ds));
+    ds_destroy(&ds);
 }
 
 static void
-- 
2.5.5

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to