PERFORCE change 35016 for review

Sam Leffler sam at FreeBSD.org
Fri Jul 25 16:50:36 PDT 2003


http://perforce.freebsd.org/chv.cgi?CH=35016

Change 35016 by sam at sam_ebb on 2003/07/25 16:50:26

	missing udbinfo unlock in udp_attach

Affected files ...

.. //depot/projects/netperf/sys/netinet/udp_usrreq.c#2 edit

Differences ...

==== //depot/projects/netperf/sys/netinet/udp_usrreq.c#2 (text+ko) ====

@@ -903,8 +903,10 @@
 	s = splnet();
 	error = in_pcballoc(so, &udbinfo, td);
 	splx(s);
-	if (error)
+	if (error) {
+		INP_INFO_WUNLOCK(&udbinfo);
 		return error;
+	}
 
 	inp = (struct inpcb *)so->so_pcb;
 	INP_LOCK(inp);


More information about the p4-projects mailing list