NetBSD Problem Report #17201
Received: (qmail 8194 invoked by uid 605); 9 Jun 2002 17:24:49 -0000
Message-Id: <20020609172417.0AAD67E0@starfruit.itojun.org>
Date: Mon, 10 Jun 2002 02:24:17 +0900 (JST)
From: itojun@itojun.org
Sender: gnats-bugs-owner@netbsd.org
Reply-To: itojun@itojun.org
To: gnats-bugs@gnats.netbsd.org
Subject: sys/net/if_gre.c uses if_addrlen = 4, which is unnecessary
X-Send-Pr-Version: 3.95
>Number: 17201
>Category: kern
>Synopsis: sys/net/if_gre.c uses if_addrlen = 4, which is unnecessary
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jun 09 17:25:01 +0000 2002
>Closed-Date: Sun Jun 09 18:02:28 +0000 2002
>Last-Modified: Sun Jun 09 18:02:28 +0000 2002
>Originator: Jun-ichiro itojun Hagino
>Release: NetBSD 1.6A, today
>Organization:
itojun.org
>Environment:
System: NetBSD starfruit.itojun.org 1.6A NetBSD 1.6A (STARFRUIT) #60: Mon Jun 10 02:00:55 JST 2002 itojun@starfruit.itojun.org:/usr/home/itojun/NetBSD/src/sys/arch/i386/compile/STARFRUIT i386
Architecture: i386
Machine: i386
>Description:
if_gre.c sets if_addrlen to 4 with no real reason. it can be 0, IMHO.
>How-To-Repeat:
# ifconfig gre0
gre0: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1476
tunnel inet 10.1.1.1 --> 10.1.1.2
address: 00:00:00:00 <---
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: itojun
State-Changed-When: Sun Jun 9 11:02:20 PDT 2002
State-Changed-Why:
fixed
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.