buildbuddy-io / buildbuddy

BuildBuddy is an open source Bazel build event viewer, result store, remote cache, and remote build execution platform.
https://buildbuddy.io
Other
577 stars 86 forks source link

Fix order of veth interface cleanup #7358

Closed bduffany closed 1 week ago

bduffany commented 1 week ago

Make sure to unlock the IP range after deleting the veth pair, since the IPs in this range are still attached to the veth interfaces when we delete it (we don't have an explicit cleanup func to un-assign the IP that is registered in attachAddressToVeth, because deleting the interface does this cleanup automatically).

Related issues: N/A