freebsd-dev/sys/netlink
Alexander V. Chernikov c7c3481621 netlink: fix IPv6 route addition with link-local gateway
Currently kernel assumes that IPv6 gateway address is in "embedded"
 form - that is, for the link-local IPv6 addresses, interface index
 is embedded in bytes 2 and 3 of the address.
Fix address embedding in netlink by wrapping nhop_set_gw() in the
 netlink-specific nl_set_nexthop_gw(), which does such embedding
 automatically.

Reported by:	Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>
MFC after:	3 days
2023-02-20 14:29:48 +00:00
..
route netlink: fix IPv6 route addition with link-local gateway 2023-02-20 14:29:48 +00:00
netlink_ctl.h
netlink_debug.h
netlink_domain.c netlink: initialise error in nl_autobind_port(). 2023-02-18 17:53:05 +00:00
netlink_generic.c netlink: fix OOB read in genetlink 2023-02-18 17:53:06 +00:00
netlink_generic.h netlink: fix genetlink CTRL_ATTR_MCAST_GRP_MAX define. 2022-10-31 15:03:27 +00:00
netlink_io.c netlink: do not crash when linux message translation fails. 2023-02-18 17:53:06 +00:00
netlink_linux.h
netlink_message_parser.c netlink: return optional metadata with the operation result. 2023-02-09 15:30:00 +00:00
netlink_message_parser.h netlink: return optional metadata with the operation result. 2023-02-09 15:30:00 +00:00
netlink_message_writer.c netlink: return optional metadata with the operation result. 2023-02-09 15:30:00 +00:00
netlink_message_writer.h netlink: return optional metadata with the operation result. 2023-02-09 15:30:00 +00:00
netlink_module.c netlink: add "netlink" to the list of kernel features 2023-01-30 11:23:53 +00:00
netlink_route.c netlink: add "netlink" to the list of kernel features 2023-01-30 11:23:53 +00:00
netlink_route.h
netlink_snl_route.h Revert "netlink: make netlink_snl(3) c++ friendly." 2023-02-12 12:17:05 +00:00
netlink_snl.h Revert "netlink: make netlink_snl(3) c++ friendly." 2023-02-12 12:17:05 +00:00
netlink_var.h netlink: allow more than 64 groups per netlink socket. 2022-11-03 17:05:34 +00:00
netlink.h netlink: fix NLMSG_SPACE() macro. 2022-10-31 15:02:12 +00:00