Date: Wed, 19 Jul 2000 09:17:19 -0700 (PDT) From: Archie Cobbs <archie@whistle.com> To: "Yevmenkin, Maksim N, CSCIO" <myevmenkin@att.com> Cc: julian@elischer.org, freebsd-current@FreeBSD.ORG Subject: Re: possible NETGRAPH/NG_ETHER bug Message-ID: <200007191617.JAA65795@bubba.whistle.com> In-Reply-To: <E598F159668DD311B9C700902799EAF4473463@njb140po01.ems.att.com> from "Yevmenkin, Maksim N, CSCIO" at "Jul 19, 2000 09:07:19 am"
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007191617.JAA65795>