svn commit: r333941 - head/sys/kern
Matt Macy
mmacy at FreeBSD.org
Sun May 20 21:20:27 UTC 2018
Author: mmacy
Date: Sun May 20 21:20:26 2018
New Revision: 333941
URL: https://svnweb.freebsd.org/changeset/base/333941
Log:
AF_UNIX: Don't unlock unp/unp2 if they're not locked
Reported by: mjg
Modified:
head/sys/kern/uipc_usrreq.c
Modified: head/sys/kern/uipc_usrreq.c
==============================================================================
--- head/sys/kern/uipc_usrreq.c Sun May 20 21:07:29 2018 (r333940)
+++ head/sys/kern/uipc_usrreq.c Sun May 20 21:20:26 2018 (r333941)
@@ -1568,7 +1568,7 @@ unp_connectat(int fd, struct socket *so, struct sockad
so2 = NULL;
if (so2 == NULL) {
error = ECONNREFUSED;
- goto bad3;
+ goto bad2;
}
unp3 = sotounpcb(so2);
unp_pcb_lock2(unp2, unp3);
More information about the svn-src-all
mailing list