[ovs-dev] [PATCH V3 1/2] dpif: Fix cleanup of netdev_ports map

Joe Stringer joe at ovn.org
Fri Aug 18 21:31:23 UTC 2017


On 16 August 2017 at 22:59, Roi Dayan <roid at mellanox.com> wrote:
> Executing dpctl commands from userspace also calls to
> dpif_open()/dpif_close() but not really creating another dpif
> but using a clone.
> As for netdev_ports map is global we avoid adding duplicate entries
> but also need to make sure we are not removing needed entries.
> With this commit we make sure only the last dpif close should clean
> the netdev_ports map.
>
> Fixes: 6595cb95a4a9 ("dpif: Clean up netdev_ports map on dpif_close().")
> Signed-off-by: Roi Dayan <roid at mellanox.com>
> Reviewed-by: Paul Blakey <paulb at mellanox.com>
> ---

Thanks, applied.


More information about the dev mailing list