NetBSD Problem Report #41912
From www@NetBSD.org Fri Aug 21 03:36:12 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 27CC763C298
for <gnats-bugs@gnats.netbsd.org>; Fri, 21 Aug 2009 03:36:12 +0000 (UTC)
Message-Id: <20090821033611.BE85463C294@www.NetBSD.org>
Date: Fri, 21 Aug 2009 03:36:11 +0000 (UTC)
From: c81187@gmail.com
Reply-To: c81187@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Kernel panic when adding and activating a link-layer (MAC) address if interface is not down.
X-Send-Pr-Version: www-1.0
>Number: 41912
>Category: kern
>Synopsis: Kernel panic when adding and activating a link-layer (MAC) address if interface is not down.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 21 03:40:00 +0000 2009
>Last-Modified: Tue Jun 30 11:50:01 +0000 2020
>Originator: Charlie
>Release: 5.0.1
>Organization:
N/A
>Environment:
NetBSD blah.wootnet.int 5.0 NetBSD 5.0 (GENERIC) #0: Sun Apr 26 18:50:08 UTC 2009 builds@b6.netbsd.org:/home/builds/ab/netbsd-5-0-RELEASE/i386/200904260229Z-obj/home/builds/ab/netbsd-5-0-RELEASE/src/sys/arch/i386/compile/GENERIC i386
>Description:
When adding a MAC address to an interface it will kernel panic unless that interface was first marked down.
i.e.
ifconfig ne2 link 00:00:00:00:00:00 active
>> Kernel panic
ifconfig ne2 down && ifconfig ne2 link 00:00:00:00:00:00 active
>> Works
>How-To-Repeat:
Add MAC address to interface marked as up.
>Fix:
>Audit-Trail:
From: "Jukka Ruohonen" <jruoho@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/41912 CVS commit: src
Date: Tue, 30 Jun 2020 11:48:20 +0000
Module Name: src
Committed By: jruoho
Date: Tue Jun 30 11:48:20 UTC 2020
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/sbin/ifconfig: Makefile
Added Files:
src/tests/sbin/ifconfig: t_repeated_link_addr.sh t_repeated_mtu.sh
Log Message:
Add a couple of tests for sequential ifconfig(8) options, incl. PR kern/41912.
To generate a diff of this commit:
cvs rdiff -u -r1.863 -r1.864 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.8 -r1.9 src/tests/sbin/ifconfig/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/sbin/ifconfig/t_repeated_link_addr.sh \
src/tests/sbin/ifconfig/t_repeated_mtu.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.