mirror of
https://github.com/openvswitch/ovs
synced 2025-10-11 13:57:52 +00:00
dpif-netdev: Destroy pmd_thread cmap at exit
Found by valgrind Signed-off-by: Daniele Di Proietto <ddiproietto@vmware.com> Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
This commit is contained in:
committed by
Jarno Rajahalme
parent
33c24cf9f4
commit
8bd89cdc06
@@ -643,6 +643,7 @@ dp_netdev_free(struct dp_netdev *dp)
|
||||
shash_find_and_delete(&dp_netdevs, dp->name);
|
||||
|
||||
dp_netdev_destroy_all_pmds(dp);
|
||||
cmap_destroy(&dp->poll_threads);
|
||||
ovs_mutex_destroy(&dp->non_pmd_mutex);
|
||||
ovsthread_key_delete(dp->per_pmd_key);
|
||||
|
||||
|
Reference in New Issue
Block a user