freebsd-src/sys/netlink
R. Christian McDonald ae2ca32781 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
2023-10-23 16:24:51 +02:00
..
route netlink: fix potential llentry lock leak in newneigh handler 2023-10-23 16:24:51 +02:00
ktest_netlink_message_writer.c netlink: move NETLINK define to opt_global.h 2023-10-13 09:23:47 +02:00
ktest_netlink_message_writer.h
netlink.h
netlink_bitset.h
netlink_ctl.h
netlink_debug.h
netlink_domain.c netlink: move NETLINK define to opt_global.h 2023-10-13 09:23:47 +02:00
netlink_generic.c netlink: move NETLINK define to opt_global.h 2023-10-13 09:23:47 +02:00
netlink_generic.h
netlink_generic_kpi.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
netlink_glue.c netlink: move NETLINK define to opt_global.h 2023-10-13 09:23:47 +02:00
netlink_io.c netlink: move NETLINK define to opt_global.h 2023-10-13 09:23:47 +02:00
netlink_linux.h
netlink_message_parser.c netlink: add attr parser utility functions 2023-10-17 08:47:46 +02:00
netlink_message_parser.h netlink: descend into nested parsers when verifying 2023-10-17 08:47:48 +02:00
netlink_message_writer.c netlink: move NETLINK define to opt_global.h 2023-10-13 09:23:47 +02:00
netlink_message_writer.h
netlink_module.c netlink: move NETLINK define to opt_global.h 2023-10-13 09:23:47 +02:00
netlink_route.c netlink: add unregister call in cleanup 2023-09-22 10:44:03 -04:00
netlink_route.h
netlink_snl.h
netlink_snl_generic.h netlink: cope with growing requests 2023-10-17 08:47:52 +02:00
netlink_snl_route.h
netlink_snl_route_compat.h
netlink_snl_route_parsers.h
netlink_sysevent.c
netlink_sysevent.h
netlink_var.h