svn commit: r263315 - stable/8/sys/netinet
Xin LI
delphij at FreeBSD.org
Tue Mar 18 20:01:47 UTC 2014
Author: delphij
Date: Tue Mar 18 20:01:46 2014
New Revision: 263315
URL: http://svnweb.freebsd.org/changeset/base/263315
Log:
MFC r249559:
Don't leak lock when returning.
PR: kern/177888
Submitted by: Sven-Thorsten Dietrich <sven vyatta com>
Modified:
stable/8/sys/netinet/ip_mroute.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/netinet/ (props changed)
Modified: stable/8/sys/netinet/ip_mroute.c
==============================================================================
--- stable/8/sys/netinet/ip_mroute.c Tue Mar 18 20:01:00 2014 (r263314)
+++ stable/8/sys/netinet/ip_mroute.c Tue Mar 18 20:01:46 2014 (r263315)
@@ -820,6 +820,7 @@ set_api_config(uint32_t *apival)
for (i = 0; i < mfchashsize; i++) {
if (LIST_FIRST(&V_mfchashtbl[i]) != NULL) {
+ MFC_UNLOCK();
*apival = 0;
return EPERM;
}
More information about the svn-src-stable
mailing list