]> git.ipfire.org Git - thirdparty/bird.git/commit
Netlink: Use route replace for IPv4
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Mon, 15 Jul 2019 14:23:18 +0000 (16:23 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Mon, 15 Jul 2019 14:23:18 +0000 (16:23 +0200)
commit8235c4747dcc92de2ea991f78cdf9c6b8fa7f522
tree67727430d1f8b5fb9b0f1b246a93af229c9ff4bc
parent1aec7112f7314c3e9a4d8b9440dd85a782295310
Netlink: Use route replace for IPv4

Use route replace netlink op instead of delete+add netlink ops for kernel
IPv4 route replace. This avoids some packetloss during route replace.
Still use the old behavior for IPv6, as some kernel bugs are hidden in
IPv6 ECMP handling.
sysdep/linux/netlink.c