We can't unlock the netdev's mutex after close the netdev, because closing
the netdev might destroy the mutex.
VMware-BZ: #
1275187
Signed-off-by: Ben Pfaff <blp@nicira.com>
/*
- * Copyright (c) 2010, 2011, 2012, 2013 Nicira, Inc.
+ * Copyright (c) 2010, 2011, 2012, 2013, 2014 Nicira, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
netdev_change_seq_changed(netdev_);
}
}
- netdev_close(netdev_);
ovs_mutex_unlock(&netdev->mutex);
+
+ netdev_close(netdev_);
}
free(vports);