Module Name: src
Committed By: kiyohara
Date: Thu Jun 7 00:19:29 UTC 2012
Modified Files:
src/sys/arch/mips/alchemy/dev: if_aumac.c
Log Message:
Fix can't assign IPv6 address. Valiable error resets to 0, if error ==
ENETRESET in aumac_ioctl().
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/mips/alchemy/dev/if_aumac.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/mips/alchemy/dev/if_aumac.c
diff -u src/sys/arch/mips/alchemy/dev/if_aumac.c:1.35 src/sys/arch/mips/alchemy/dev/if_aumac.c:1.36
--- src/sys/arch/mips/alchemy/dev/if_aumac.c:1.35 Sat May 19 15:17:35 2012
+++ src/sys/arch/mips/alchemy/dev/if_aumac.c Thu Jun 7 00:19:29 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: if_aumac.c,v 1.35 2012/05/19 15:17:35 kiyohara Exp $ */
+/* $NetBSD: if_aumac.c,v 1.36 2012/06/07 00:19:29 kiyohara Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@@ -46,7 +46,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_aumac.c,v 1.35 2012/05/19 15:17:35 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_aumac.c,v 1.36 2012/06/07 00:19:29 kiyohara Exp $");
@@ -497,6 +497,7 @@ aumac_ioctl(struct ifnet *ifp, u_long cm
*/
if (ifp->if_flags & IFF_RUNNING)
aumac_set_filter(sc);
+ error = 0;
}
/* Try to get more packets going. */