[Bug 275001] if_wg: Missing radix unlock can cause deadlock
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Nov 2023 19:30:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275001
--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=9ed67f1307f40b3173ea3b3889c6323f9ef4a58f
commit 9ed67f1307f40b3173ea3b3889c6323f9ef4a58f
Author: Aaron LI <aly@aaronly.me>
AuthorDate: 2023-11-11 13:13:08 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2023-11-18 09:46:21 +0000
if_wg: Missing radix unlock can cause deadlock
In function 'wg_aip_add()', the error path of returning ENOMEM when
(node == NULL) is forgetting to unlock the radix tree, and thus may lead
to a deadlock.
PR: 275001
Reviewed by: kp
MFC after: 1 week
(cherry picked from commit dcc4d2939f789a6d1f272ffeab2068ba2b7525ea)
sys/dev/wg/if_wg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
You are receiving this mail because:
You are the assignee for the bug.