From owner-freebsd-bugs Mon Jan 26 06:30:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA26907 for freebsd-bugs-outgoing; Mon, 26 Jan 1998 06:30:24 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA26901 for ; Mon, 26 Jan 1998 06:30:19 -0800 (PST) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id BAA31752; Tue, 27 Jan 1998 01:29:38 +1100 Date: Tue, 27 Jan 1998 01:29:38 +1100 From: Bruce Evans Message-Id: <199801261429.BAA31752@godzilla.zeta.org.au> To: freebsd-bugs@hub.freebsd.org, sprice@hiwaay.net Subject: Re: misc/1376 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Bill Fenner wrote: > > > > I don't think this is appropriate; as Gary said, the correct thing is > > probably to bzero the if_data struct (e.g. why should ibytes get set to > > zero but not imcasts, or iqdrops?). > This is why I just applied it to -current. :) Would the attached > patch make everyone happier? If not, your patches are always welcome. The bzero seems to be a no-op, since tunattach() is only called once and tunctl[] is statically initialized to 0. Bruce