Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Aug 2000 09:26:21 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        Holtor <holtor@yahoo.com>, freebsd-stable@FreeBSD.ORG
Subject:   Re: Recent -STABLE Problem
Message-ID:  <4.3.2.7.0.20000831092313.03f36f00@marble.sentex.ca>
In-Reply-To: <20000831132356.23886.qmail@web114.yahoomail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.2.7.0.20000831092313.03f36f00>