Date: Tue, 16 Apr 2013 18:54:36 GMT From: Sven-Thorsten Dietrich <sven@vyatta.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/177888: Missing mutex unlock - deadlock multicast subsystem Message-ID: <201304161854.r3GIsaAO095952@red.freebsd.org> Resent-Message-ID: <201304161900.r3GJ00uu026637@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 177888
>Category: kern
>Synopsis: Missing mutex unlock - deadlock multicast subsystem
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Apr 16 19:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Sven-Thorsten Dietrich
>Release: head / 9.1.0
>Organization:
Vyatta
>Environment:
N/A
>Description:
return inside locked critical section
>How-To-Repeat:
see patch, run set_api_config() appropriately
>Fix:
apply patch
Patch attached with submission follows:
Index: netinet/ip_mroute.c
===================================================================
--- netinet/ip_mroute.c (revision 249557)
+++ netinet/ip_mroute.c (working copy)
@@ -825,6 +825,7 @@
for (i = 0; i < mfchashsize; i++) {
if (LIST_FIRST(&V_mfchashtbl[i]) != NULL) {
*apival = 0;
+ MFC_UNLOCK();
return EPERM;
}
}
>Release-Note:
>Audit-Trail:
>Unformatted:
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304161854.r3GIsaAO095952>
