opnsense-src/sys/netlink
Justin Hibbits 0e8eaf3d77 netlink: Don't directly access ifnet members
Summary:
Remove the final direct access of struct ifnet members from netlink.
Since only the first address is used, create the iterator and then free,
without fully iterating.

Reviewed By:	kp
Sponsored by:	Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D42972

(cherry picked from commit b224af946a17b8e7a7b4942157556b5bc86dd6fb)
2026-01-10 09:00:31 +01:00
..
route netlink: Don't directly access ifnet members 2026-01-10 09:00:31 +01:00
ktest_netlink_message_writer.c netlink: move NETLINK define to opt_global.h 2023-10-16 09:42:33 +02:00
ktest_netlink_message_writer.h netlink: use netlink mbufs in the mbuf chains. 2023-06-02 13:14:20 +00:00
netlink.h netlink.h: s/typeof/__typeof 2024-04-08 10:37:44 -07:00
netlink_bitset.h netlink: dump interface capabilities with other interface data. 2023-06-16 15:33:49 +00:00
netlink_ctl.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
netlink_debug.h netlink: Wrap long lines 2024-07-21 20:55:27 -04:00
netlink_domain.c netlink: move NETLINK define to opt_global.h 2023-10-16 09:42:33 +02:00
netlink_generic.c netlink: move NETLINK define to opt_global.h 2023-10-16 09:42:33 +02:00
netlink_generic.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
netlink_generic_kpi.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
netlink_glue.c netlink: Add sysctl descriptions for net.netlink tree 2024-01-12 12:53:45 -05:00
netlink_io.c netlink: Fully clear parser state between messages 2025-08-08 12:05:11 +02:00
netlink_linux.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
netlink_message_parser.c netlink: fix casts 2024-03-08 10:11:15 +01:00
netlink_message_parser.h nlmsg_report_err_msg: add __printflike annotation 2025-07-21 08:36:32 +02:00
netlink_message_writer.c netlink: move NETLINK define to opt_global.h 2023-10-16 09:42:33 +02:00
netlink_message_writer.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
netlink_module.c netlink: move NETLINK define to opt_global.h 2023-10-16 09:42:33 +02:00
netlink_route.c netlink: add unregister call in cleanup 2023-09-25 09:45:06 -04:00
netlink_route.h netlink: dump interface capabilities with other interface data. 2023-06-16 15:33:49 +00:00
netlink_snl.h netlink: Don't overwrite existing data in a linear buffer in snl_writer 2026-01-10 09:00:02 +01:00
netlink_snl_generic.h netlink: cope with growing requests 2023-10-24 09:45:20 +02:00
netlink_snl_route.h netlink: Fix C++ compile errors 2024-06-12 15:46:24 -06:00
netlink_snl_route_compat.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
netlink_snl_route_parsers.h netlink: Fix C++ compile errors 2024-06-12 15:46:24 -06:00
netlink_sysevent.c kern: Move devctl_systems[] out of sys/sys/devctl.h 2023-06-08 12:28:04 -04:00
netlink_sysevent.h nlsysevent: add default command to the events 2023-06-02 14:22:10 +02:00
netlink_var.h netlink: use custom uma zone for the mbuf storage. 2023-06-01 06:43:39 +00:00