Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 May 2004 18:06:06 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 52184 for review
Message-ID:  <200405040106.i441668r092199@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=52184

Change 52184 by rwatson@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. */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405040106.i441668r092199>