mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 11:13:50 +00:00
network: Fixes bug that stopped down hook from running for phys netdevs
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
This commit is contained in:
parent
e2f2d86a41
commit
b3259dc669
@ -2787,6 +2787,8 @@ bool lxc_delete_network_unpriv(struct lxc_handler *handler)
|
||||
TRACE("Renamed interface with index %d to its "
|
||||
"initial name \"%s\"",
|
||||
netdev->ifindex, netdev->link);
|
||||
|
||||
ret = netdev_deconf[netdev->type](handler, netdev);
|
||||
goto clear_ifindices;
|
||||
}
|
||||
|
||||
@ -3224,6 +3226,8 @@ bool lxc_delete_network_priv(struct lxc_handler *handler)
|
||||
netdev->link, netdev->priv.phys_attr.mtu);
|
||||
}
|
||||
}
|
||||
|
||||
ret = netdev_deconf[netdev->type](handler, netdev);
|
||||
goto clear_ifindices;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user