From owner-p4-projects@FreeBSD.ORG Mon Oct 31 19:04:03 2005 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 3C01116A423; Mon, 31 Oct 2005 19:04:03 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E93B316A420 for ; Mon, 31 Oct 2005 19:04:02 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8E6543D5D for ; Mon, 31 Oct 2005 19:04:01 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j9VJ41ED073461 for ; Mon, 31 Oct 2005 19:04:01 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j9VJ41Tw073458 for perforce@freebsd.org; Mon, 31 Oct 2005 19:04:01 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Mon, 31 Oct 2005 19:04:01 GMT Message-Id: <200510311904.j9VJ41Tw073458@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Cc: Subject: PERFORCE change 86119 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 19:04:04 -0000 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;