jpetazzo / pipework

Software-Defined Networking tools for LXC (LinuX Containers)
Apache License 2.0
4.22k stars 727 forks source link

Avoid race condition when setting default gateway. #31

Closed johngmyers closed 10 years ago

johngmyers commented 10 years ago

Without this change, outgoing packets can leak out the old default gateway between the time pipework --wait completes and the time pipework can install the new default gateway.

jpetazzo commented 10 years ago

Indeed. Thanks!