PERFORCE change 86119 for review
Robert Watson
rwatson at FreeBSD.org
Mon Oct 31 11:04:04 PST 2005
http://perforce.freebsd.org/chv.cgi?CH=86119
Change 86119 by rwatson at 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;
More information about the p4-projects
mailing list