opnsense-src/sys/netlink/route
R. Christian McDonald eff832ae7b netlink: fix potential llentry lock leak in newneigh handler
The netlink newneigh handler has the potential to leak the lock on
llentry objects in the kernel. This patch reconciles several paths
through the newneigh handler that could result in a lock leak.

MFC after:	1 week
Reviewed by:	markj, kp
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D42307

(cherry picked from commit ae2ca32781a90abe987e128ca167ab400a87f369)
2023-11-01 10:05:49 +01:00
..
common.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
iface.c netlink: move NETLINK define to opt_global.h 2023-10-16 09:42:33 +02:00
iface_drivers.c netlink: move NETLINK define to opt_global.h 2023-10-16 09:42:33 +02:00
ifaddrs.h netlink: add support for adding/deleting interface addresses 2023-05-16 19:39:13 +00:00
interface.h netlink: dump interface capabilities with other interface data. 2023-06-16 15:33:49 +00:00
neigh.c netlink: fix potential llentry lock leak in newneigh handler 2023-11-01 10:05:49 +01:00
neigh.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
nexthop.c netlink: move NETLINK define to opt_global.h 2023-10-16 09:42:33 +02:00
nexthop.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
route.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
route_var.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
rt.c netlink: move NETLINK define to opt_global.h 2023-10-16 09:42:33 +02:00