Date: Sat, 11 Nov 2023 14:45:19 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 275001] if_wg: Missing radix unlock can cause deadlock Message-ID: <bug-275001-7501-twKc6Y3Urr@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-275001-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-275001-7501@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275001 --- Comment #1 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Ddcc4d2939f789a6d1f272ffeab2068ba2= b7525ea commit dcc4d2939f789a6d1f272ffeab2068ba2b7525ea Author: Aaron LI <aly@aaronly.me> AuthorDate: 2023-11-11 13:13:08 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2023-11-11 13:13:08 +0000 if_wg: Missing radix unlock can cause deadlock In function 'wg_aip_add()', the error path of returning ENOMEM when (node =3D=3D NULL) is forgetting to unlock the radix tree, and thus may= lead to a deadlock. PR: 275001 Reviewed by: kp MFC after: 1 week sys/dev/wg/if_wg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275001-7501-twKc6Y3Urr>