mirror of
https://github.com/openvswitch/ovs
synced 2025-09-05 08:45:23 +00:00
dpif-netdev: Destroy 'port_mutex' in dp_netdev_free().
Found by inspection. Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com> Tested-by: Ilya Maximets <i.maximets@samsung.com> Acked-by: Ilya Maximets <i.maximets@samsung.com>
This commit is contained in:
@@ -986,6 +986,7 @@ dp_netdev_free(struct dp_netdev *dp)
|
||||
|
||||
seq_destroy(dp->port_seq);
|
||||
cmap_destroy(&dp->ports);
|
||||
ovs_mutex_destroy(&dp->port_mutex);
|
||||
|
||||
/* Upcalls must be disabled at this point */
|
||||
dp_netdev_destroy_upcall_lock(dp);
|
||||
|
Reference in New Issue
Block a user