Date: Mon, 21 Jun 2004 01:20:43 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 55427 for review Message-ID: <200406210120.i5L1KhkM036022@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=55427 Change 55427 by rwatson@rwatson_paprika on 2004/06/21 01:20:11 A bit of whitespace diff reduction in netperf_socket to make it easier to diff versions of the netperf patches. Affected files ... .. //depot/projects/netperf_socket/sys/kern/uipc_socket2.c#19 edit Differences ... ==== //depot/projects/netperf_socket/sys/kern/uipc_socket2.c#19 (text+ko) ==== @@ -337,6 +337,7 @@ socantsendmore_locked(so) struct socket *so; { + SOCKBUF_LOCK_ASSERT(&so->so_snd); so->so_state |= SS_CANTSENDMORE; @@ -349,6 +350,7 @@ { SOCKBUF_LOCK(&so->so_rcv); + socantrcvmore_locked(so); mtx_assert(SOCKBUF_MTX(&so->so_rcv), MA_NOTOWNED); } @@ -357,6 +359,7 @@ socantrcvmore_locked(so) struct socket *so; { + SOCKBUF_LOCK_ASSERT(&so->so_rcv); so->so_state |= SS_CANTRCVMORE; @@ -370,7 +373,6 @@ sbwait(sb) struct sockbuf *sb; { - SOCKBUF_LOCK_ASSERT(sb); SOCKBUF_LOCK_ASSERT(sb);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406210120.i5L1KhkM036022>