Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2000 20:10:05 -0800 (PST)
From:      "Andrey A. Chernov" <ache@freebsd.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/16564: SLIOCSUNIT is broken and can cause panic.
Message-ID:  <200002190410.UAA59058@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/16564; it has been noted by GNATS.

From: "Andrey A. Chernov" <ache@freebsd.org>
To: jkh@freebsd.org, Ruslan Ermilov <ru@FreeBSD.ORG>
Cc: dwmalone@maths.tcd.ie, FreeBSD-gnats-submit@FreeBSD.ORG,
	bde@FreeBSD.ORG
Subject: Re: kern/16564: SLIOCSUNIT is broken and can cause panic.
Date: Fri, 18 Feb 2000 20:01:37 -0800

 Jordan, please approve this patch:
 
 
 On Thu, Feb 17, 2000 at 04:44:57PM +0200, Ruslan Ermilov wrote:
 > Index: if_sl.c
 > ===================================================================
 > RCS file: /usr/FreeBSD-CVS/src/sys/net/if_sl.c,v
 > retrieving revision 1.70.2.3
 > diff -u -p -r1.70.2.3 if_sl.c
 > --- if_sl.c	1999/12/15 09:17:29	1.70.2.3
 > +++ if_sl.c	2000/02/17 14:23:09
 > @@ -405,6 +405,7 @@ sltioctl(tp, cmd, data, flag, p)
 >  					clist_alloc_cblocks(&tp->t_outq,
 >  					    SLIP_HIWAT + 2 * sc->sc_if.if_mtu + 1,
 >  					    SLIP_HIWAT + 2 * sc->sc_if.if_mtu + 1);
 > +					sl_compress_init(&sc->sc_comp, -1);
 >  					goto slfound;
 >  				}
 >  			}
 
 
 -- 
 Andrey A. Chernov
 <ache@nagual.pp.ru>
 http://nagual.pp.ru/~ache/
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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