Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/alchemy/dev Fix can't assign IPv6 address. Va...



details:   https://anonhg.NetBSD.org/src/rev/2749bf9a640b
branches:  trunk
changeset: 779636:2749bf9a640b
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Thu Jun 07 00:19:29 2012 +0000

description:
Fix can't assign IPv6 address.  Valiable error resets to 0, if error == ENETRESET in aumac_ioctl().

diffstat:

 sys/arch/mips/alchemy/dev/if_aumac.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r d5963f69012a -r 2749bf9a640b sys/arch/mips/alchemy/dev/if_aumac.c
--- a/sys/arch/mips/alchemy/dev/if_aumac.c      Wed Jun 06 23:59:17 2012 +0000
+++ b/sys/arch/mips/alchemy/dev/if_aumac.c      Thu Jun 07 00:19:29 2012 +0000
@@ -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 @@
                 */
                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