NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-evbmips/41413: aumac must clear the error, if error == ENETRESET
>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. */
Home |
Main Index |
Thread Index |
Old Index