Date: Mon, 31 Oct 2005 19:04:01 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 86119 for review Message-ID: <200510311904.j9VJ41Tw073458@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=86119 Change 86119 by rwatson@rwatson_zoo on 2005/10/31 19:03:08 Temporarily restore more complex argument logic for pru_sosend() in the sosend_dgram() case while debugging. Affected files ... .. //depot/projects/netsmp/src/sys/kern/uipc_socket.c#20 edit Differences ... ==== //depot/projects/netsmp/src/sys/kern/uipc_socket.c#20 (text+ko) ==== @@ -822,8 +822,10 @@ ((flags & MSG_EOF) && (so->so_proto->pr_flags & PR_IMPLOPCL) && (resid <= 0)) ? - PRUS_EOF : 0, - top, addr, control, td); + PRUS_EOF : + /* If there is more to send set PRUS_MORETOCOME */ + (resid > 0 && space > 0) ? PRUS_MORETOCOME : 0, + top, addr, control, td); if (dontroute) { SOCK_LOCK(so); so->so_options &= ~SO_DONTROUTE;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510311904.j9VJ41Tw073458>