HomeFreeBSD

netlink: fix potential llentry lock leak in newneigh handler

Description

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

Details

Provenance
rcmAuthored on Oct 23 2023, 11:23 AM
kpCommitted on Oct 23 2023, 2:24 PM
Reviewer
markj
Differential Revision
D42307: netlink: fix potential llentry lock leak in newneigh handler
Parents
rGc36b3dbc99d1: bsdconfig: Restore bsddialog
Branches
Unknown
Tags
Unknown