ddb1bdf281
Seems like the previous patch was too optimistic, as route replace is still broken even in Linux 4.19 LTS (but fixed in Linux 5.10 LTS) for: ip route add 2001:db8::/32 via fe80::1 dev eth0 ip route replace 2001:db8::/32 dev eth0 It ends with two routes instead of just the second. The issue is limited to direct and special type (e.g. unreachable) routes, the patch restricts route replace for cases when the new route is a regular route (with a next hop address). |
||
---|---|---|
.. | ||
krt-sys.h | ||
Makefile | ||
netlink.c | ||
netlink.Y | ||
sysio.h | ||
syspriv.h |