PERFORCE change 52184 for review

Robert Watson rwatson at FreeBSD.org
Tue May 4 01:06:06 GMT 2004


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

Change 52184 by rwatson at rwatson_tislabs on 2004/05/03 18:05:06

	Assert inpcb lock on (last) not (inp).  Tripped up by inpcb
	assertions being off by default.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/netinet/udp_usrreq.c#32 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/netinet/udp_usrreq.c#32 (text+ko) ====

@@ -453,7 +453,7 @@
 	struct sockaddr *append_sa;
 	struct mbuf *opts = 0;
 
-	INP_LOCK_ASSERT(inp);
+	INP_LOCK_ASSERT(last);
 
 #if defined(IPSEC) || defined(FAST_IPSEC)
 	/* check AH/ESP integrity. */
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list