[ovs-dev] [PATCH ovn] controller: Fix the wrong 'struct' type for 'pflow_output_data'.

numans at ovn.org numans at ovn.org
Tue Jun 22 20:10:30 UTC 2021


From: Numan Siddique <numans at ovn.org>

'pflow_output_data' should be of type 'struct ed_type_pflow_output'
and not 'struct ed_type_lflow_output'.

Fixes: e07e397b7ae("ovn-controller: Split logical flow and physical flow processing.")
Signed-off-by: Numan Siddique <numans at ovn.org>
---
 controller/ovn-controller.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/controller/ovn-controller.c b/controller/ovn-controller.c
index 1cfe4b713..3968ef059 100644
--- a/controller/ovn-controller.c
+++ b/controller/ovn-controller.c
@@ -2980,7 +2980,7 @@ main(int argc, char *argv[])
 
     struct ed_type_lflow_output *lflow_output_data =
         engine_get_internal_data(&en_lflow_output);
-    struct ed_type_lflow_output *pflow_output_data =
+    struct ed_type_pflow_output *pflow_output_data =
         engine_get_internal_data(&en_pflow_output);
     struct ed_type_ct_zones *ct_zones_data =
         engine_get_internal_data(&en_ct_zones);
-- 
2.31.1



More information about the dev mailing list