0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 16:48:43 +00:00
bird/sysdep/linux
Ondrej Zajicek ddb1bdf281 Netlink: Restrict route replace for IPv6
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).
2022-07-26 18:45:20 +02:00
..
krt-sys.h Netlink: Add option to specify netlink socket receive buffer size 2022-01-17 05:11:29 +01:00
Makefile Unit Testing for BIRD 2016-11-09 16:36:34 +01:00
netlink.c Netlink: Restrict route replace for IPv6 2022-07-26 18:45:20 +02:00
netlink.Y Netlink: Add option to specify netlink socket receive buffer size 2022-01-17 05:11:29 +01:00
sysio.h IO: Support nonlocal bind in socket interface 2022-01-08 19:02:31 +01:00
syspriv.h Minor code cleanups 2016-11-08 17:46:29 +01:00