From owner-freebsd-stable Thu Aug 31 6:30:59 2000 Delivered-To: freebsd-stable@freebsd.org Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by hub.freebsd.org (Postfix) with ESMTP id 33A9437B424 for ; Thu, 31 Aug 2000 06:30:56 -0700 (PDT) Received: from simoeon.sentex.net (simeon.sentex.ca [209.112.4.47]) by smtp1.sentex.ca (8.11.0/8.11.0) with ESMTP id e7VDUrD77455; Thu, 31 Aug 2000 09:30:53 -0400 (EDT) Message-Id: <4.3.2.7.0.20000831092313.03f36f00@marble.sentex.ca> X-Sender: mdtpop@marble.sentex.ca X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Thu, 31 Aug 2000 09:26:21 -0400 To: Holtor , freebsd-stable@FreeBSD.ORG From: Mike Tancsa Subject: Re: Recent -STABLE Problem In-Reply-To: <20000831132356.23886.qmail@web114.yahoomail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 06:23 AM 8/31/00 -0700, Holtor wrote: >Has this recent kernel problem been fixed? I have some >servers in suspended animation right now and woul >love to repair them. It seems the commit from this morning fix it for me. So far so good... =================================================================== RCS file: /home/ncvs/src/sys/kern/uipc_socket2.c,v retrieving revision 1.55.2.5 retrieving revision 1.55.2.6 diff -c -p -r1.55.2.5 -r1.55.2.6 *** src/sys/kern/uipc_socket2.c 2000/08/30 00:20:47 1.55.2.5 --- src/sys/kern/uipc_socket2.c 2000/08/31 11:32:42 1.55.2.6 *************** *** 31,37 **** * SUCH DAMAGE. * * @(#)uipc_socket2.c 8.1 (Berkeley) 6/10/93 ! * $FreeBSD: src/sys/kern/uipc_socket2.c,v 1.55.2.5 2000/08/30 00:20:47 green Exp $ */ #include "opt_param.h" --- 31,37 ---- * SUCH DAMAGE. * * @(#)uipc_socket2.c 8.1 (Berkeley) 6/10/93 ! * $FreeBSD: src/sys/kern/uipc_socket2.c,v 1.55.2.6 2000/08/31 11:32:42 green Exp $ */ #include "opt_param.h" *************** sbreserve(sb, cc, so, p) *** 427,434 **** */ if ((u_quad_t)cc > (u_quad_t)sb_max * MCLBYTES / (MSIZE + MCLBYTES)) return (0); ! if (p && !chgsbsize(so->so_cred->cr_uid, &sb->sb_hiwat, cc, ! p->p_rlimit[RLIMIT_SBSIZE].rlim_cur)) { return (0); } sb->sb_mbmax = min(cc * sb_efficiency, sb_max); --- 427,434 ---- */ if ((u_quad_t)cc > (u_quad_t)sb_max * MCLBYTES / (MSIZE + MCLBYTES)) return (0); ! if (!chgsbsize(so->so_cred->cr_uid, &sb->sb_hiwat, cc, ! p ? p->p_rlimit[RLIMIT_SBSIZE].rlim_cur : RLIM_INFINITY)) { return (0); } sb->sb_mbmax = min(cc * sb_efficiency ------------------------------------------------------------------------ Mike Tancsa, tel +1 519 651 3400 Sentex Communications mike@sentex.net Cambridge, Ontario Canada www.sentex.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message