mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +00:00
netdev-linux: Fix netdev leak in corner case.
Reported-by: Alex Wang <alexw@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -513,9 +513,8 @@ netdev_linux_run(void)
|
||||
ovs_mutex_lock(&netdev->mutex);
|
||||
netdev_linux_update(netdev, &change);
|
||||
ovs_mutex_unlock(&netdev->mutex);
|
||||
|
||||
netdev_close(netdev_);
|
||||
}
|
||||
netdev_close(netdev_);
|
||||
}
|
||||
} else if (error == ENOBUFS) {
|
||||
struct shash device_shash;
|
||||
|
Reference in New Issue
Block a user