Unverified Commit d880b034 by Thomas Parrott Committed by Christian Brauner

network: Fixes bug that stopped down hook from running for phys netdevs

parent c0c0d9ec
......@@ -2505,6 +2505,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;
}
......@@ -2691,6 +2693,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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment