From owner-freebsd-current Wed Jul 19 9:17:59 2000 Delivered-To: freebsd-current@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by hub.freebsd.org (Postfix) with ESMTP id 478E237BFFA for ; Wed, 19 Jul 2000 09:17:54 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.3/8.9.3) id JAA65795; Wed, 19 Jul 2000 09:17:19 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200007191617.JAA65795@bubba.whistle.com> Subject: Re: possible NETGRAPH/NG_ETHER bug In-Reply-To: from "Yevmenkin, Maksim N, CSCIO" at "Jul 19, 2000 09:07:19 am" To: "Yevmenkin, Maksim N, CSCIO" Date: Wed, 19 Jul 2000 09:17:19 -0700 (PDT) Cc: julian@elischer.org, freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Yevmenkin, Maksim N, CSCIO writes: > again, here is one of the millions of possible patches that works for me :) > > *** ng_ether.c.old Tue Jul 18 21:17:54 2000 > --- ng_ether.c Tue Jul 18 21:48:46 2000 > *************** > *** 293,298 **** > --- 293,299 ---- > bzero(priv, sizeof(*priv)); > FREE(priv, M_NETGRAPH); > node->private = NULL; > + ng_unname(node); /* remove node name */ > ng_unref(node); /* free node itself */ > } I think that is the right patch. Thanks! -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message