opnsense-src/sys/net/route
Franco Fichtner 5dc500ba7a route: protect against unattached AF deep down #207
For pppoe/ng interfaces sometimes we enter ip6_tryforward() with
a NULL pointer array and IN6_LINKMTU() glancing over the fact
that this is not a valid destination since if_afdata structure
is not initialized.

While here remove the RT_LINK_IS_UP macro since nothing outside
of nhop is using it.

This is probably a side effect generator, but fixing one spot
instead of the general case would leave other holes in the stack.
Do not return a route destination if the address families were not
yet attached.
2025-03-03 10:35:30 +01:00
..
fib_algo.c fib_algo(4): Lower level of algorithm switching messages to LOG_INFO 2024-04-18 21:30:33 +02:00
fib_algo.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
nhgrp.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
nhgrp_ctl.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
nhgrp_var.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
nhop.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
nhop.h route: protect against unattached AF deep down #207 2025-03-03 10:35:30 +01:00
nhop_ctl.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
nhop_utils.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
nhop_utils.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
nhop_var.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
route_ctl.c Fix failure to add an interface prefix route when route with the same 2025-01-08 08:49:26 +01:00
route_ctl.h Fix failure to add an interface prefix route when route with the same 2025-01-08 08:49:26 +01:00
route_ddb.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
route_debug.h route: Wrap long lines 2024-07-21 20:55:27 -04:00
route_helpers.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
route_ifaddrs.c sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
route_rtentry.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
route_subscription.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
route_tables.c routing: Use NULL for VNET_SYS[UN]INIT's last arg, which is a pointer type 2024-12-16 16:15:44 +01:00
route_temporal.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
route_var.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00