From owner-cvs-src@FreeBSD.ORG Mon Nov 29 23:10:59 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FE2316A4CE; Mon, 29 Nov 2004 23:10:59 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A7AA43D1F; Mon, 29 Nov 2004 23:10:59 +0000 (GMT) (envelope-from ps@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iATNAxj2037508; Mon, 29 Nov 2004 23:10:59 GMT (envelope-from ps@repoman.freebsd.org) Received: (from ps@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iATNAxqZ037507; Mon, 29 Nov 2004 23:10:59 GMT (envelope-from ps) Message-Id: <200411292310.iATNAxqZ037507@repoman.freebsd.org> From: Paul Saab Date: Mon, 29 Nov 2004 23:10:59 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sys socket.h src/sys/kern uipc_socket.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Nov 2004 23:10:59 -0000 ps 2004-11-29 23:10:59 UTC FreeBSD src repository Modified files: sys/sys socket.h sys/kern uipc_socket.c Log: If soreceive() is called from a socket callback, there's no reason to do a window update to the peer (thru an ACK) from soreceive() itself. TCP will do that upon return from the socket callback. Sending a window update from soreceive() results in a lock reversal. Submitted by: Mohan Srinivasan mohans at yahoo-inc dot com Reviewed by: rwatson Revision Changes Path 1.219 +7 -1 src/sys/kern/uipc_socket.c 1.84 +3 -0 src/sys/sys/socket.h