NetBSD Problem Report #41413
From www@NetBSD.org Tue May 12 12:39:53 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 9639663C221
for <gnats-bugs@gnats.netbsd.org>; Tue, 12 May 2009 12:39:53 +0000 (UTC)
Message-Id: <20090512123953.407A463B8DF@www.NetBSD.org>
Date: Tue, 12 May 2009 12:39:53 +0000 (UTC)
From: kiyohara@kk.iij4u.or.jp
Reply-To: kiyohara@kk.iij4u.or.jp
To: gnats-bugs@NetBSD.org
Subject: aumac must clear the error, if error == ENETRESET
X-Send-Pr-Version: www-1.0
>Number: 41413
>Category: port-evbmips
>Synopsis: aumac must clear the error, if error == ENETRESET
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-evbmips-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 12 12:40:00 +0000 2009
>Originator: KIYOHARA Takashi
>Release: current (5.99.11)
>Organization:
>Environment:
>Description:
aumac must clear the error, if error == ENETRESET.
Or you look at message 'cannot assign link-local address' when 'up' for interface of aumac.
>How-To-Repeat:
# ifconfig aumac0 up
aumac0: cannot assign link-local address
>Fix:
Index: if_aumac.c
===================================================================
RCS file: /cvsroot/src/sys/arch/mips/alchemy/dev/if_aumac.c,v
retrieving revision 1.25
diff -u -r1.25 if_aumac.c
--- if_aumac.c 20 Jan 2008 14:18:05 -0000 1.25
+++ if_aumac.c 12 May 2009 12:24:14 -0000
@@ -512,6 +512,7 @@
*/
if (ifp->if_flags & IFF_RUNNING)
aumac_set_filter(sc);
+ error = 0;
}
/* Try to get more packets going. */
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.