From owner-cvs-all Tue Aug 29 4:28:10 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7811E37B422; Tue, 29 Aug 2000 04:28:07 -0700 (PDT) Received: (from green@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA44817; Tue, 29 Aug 2000 04:28:07 -0700 (PDT) (envelope-from green@FreeBSD.org) Message-Id: <200008291128.EAA44817@freefall.freebsd.org> From: Brian Feldman Date: Tue, 29 Aug 2000 04:28:07 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_proc.c uipc_socket2.c uipc_socket.c uipc_usrreq.c src/sys/sys proc.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG green 2000/08/29 04:28:07 PDT Modified files: sys/kern kern_proc.c uipc_socket2.c uipc_socket.c uipc_usrreq.c sys/sys proc.h Log: Remove any possibility of hiwat-related race conditions by changing the chgsbsize() call to use a "subject" pointer (&sb.sb_hiwat) and a u_long target to set it to. The whole thing is splnet(). This fixes a problem that jdp has been able to provoke. Revision Changes Path 1.71 +13 -5 src/sys/kern/kern_proc.c 1.62 +4 -6 src/sys/kern/uipc_socket2.c 1.81 +3 -3 src/sys/kern/uipc_socket.c 1.59 +11 -8 src/sys/kern/uipc_usrreq.c 1.108 +2 -2 src/sys/sys/proc.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message