Patched datapaths that are no longer referenced should be removed from the patched_datapaths map; otherwise incorrect state references for a patched datapath may be used and also datapaths that are absent will be interpreted as present.
There is some additional work to do for NAT support for the patched_datapath structure itself, but that is outside the scope of this change; Guru will attend to that. v1->v2: Style change. Parse pre and post processing for add_logical_patch_ports() into separate functions which makes recommended subsequent support easier. Darrell Ball (1): ovn: Remove unreferenced patched datapaths. ovn/controller/ovn-controller.h | 4 +++- ovn/controller/patch.c | 40 +++++++++++++++++++++++++++++++++++++--- 2 files changed, 40 insertions(+), 4 deletions(-) -- 1.9.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev