Date: Tue, 29 Aug 2000 04:28:07 -0700 (PDT) From: Brian Feldman <green@FreeBSD.org> 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 Message-ID: <200008291128.EAA44817@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008291128.EAA44817>