Don't attempt atomic route changes under Linux.
The netlink API doesn't natively support atomic route changes. We used to attempt to install the new route before removing the old route, but that would fail in mysterious ways on non-multipath kernels, leading to "stuck" routes. Avoid the pain, just take the native approach.
Showing
Please register or sign in to comment