freebsd-dev/sys/netlink/route
Alexander V. Chernikov cc3793b1c5 netlink: improve source ifa selection algorithm when adding routes.
Use route destination sockaddr when the gateway is eiter AF_LINK or
 has the different family (IPv4 over IPv6). This change ensures
 the nexthop IFA has the same family as the destination.

Reported by:	Dmitriy Smirnov <fox@sage.su>
Tested by:	Dmitriy Smirnov <fox@sage.su>
MFC after:	3 days
2023-04-09 13:33:22 +00:00
..
common.h netlink: add userland name mappings to all NETLINK_ROUTE messages. 2023-03-01 15:24:45 +00:00
iface_drivers.c netlink: fix vlan interface creation 2023-03-03 16:02:05 +00:00
iface.c netlink: do not print "unknown sa family" warnings at the default debug 2023-04-08 19:40:32 +00:00
ifaddrs.h netlink: improve RTM_GETADDR handling. 2023-01-08 15:06:34 +00:00
interface.h netlink: improve interface handling 2022-12-14 19:52:35 +00:00
neigh.c netlink: add netlink KPI to the kernel by default 2023-03-27 13:55:44 +00:00
neigh.h
nexthop.c netlink: add netlink KPI to the kernel by default 2023-03-27 13:55:44 +00:00
nexthop.h
route_var.h netlink: allow netlink sockets in non-vnet jails. 2023-03-26 08:44:09 +00:00
route.h netlink: allow path weight manipulations for single-path routes. 2023-01-29 16:04:10 +00:00
rt.c netlink: improve source ifa selection algorithm when adding routes. 2023-04-09 13:33:22 +00:00