summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-01-15 05:24:13 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-01-15 05:24:13 +0000
commit89df0e6b8b27747dc883f3de9e8f46b10fcedc39 (patch)
treea292b90e17b1cad700ae6fa40a061e782999a21f /sys/arch/mvme88k/dev
parent8c0a544eeaf396cc953120df64521d1b451b7b18 (diff)
make sure interface is in RUNNING state before touching the multicast filters
From NetBSD NetBSD PR 27678 for details ok mcbride@
Diffstat (limited to 'sys/arch/mvme88k/dev')
-rw-r--r--sys/arch/mvme88k/dev/if_ie.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/dev/if_ie.c b/sys/arch/mvme88k/dev/if_ie.c
index 6651cbda9f1..51e24e79a7d 100644
--- a/sys/arch/mvme88k/dev/if_ie.c
+++ b/sys/arch/mvme88k/dev/if_ie.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ie.c,v 1.31 2004/08/02 08:35:00 miod Exp $ */
+/* $OpenBSD: if_ie.c,v 1.32 2005/01/15 05:24:10 brad Exp $ */
/*-
* Copyright (c) 1998 Steve Murphree, Jr.
@@ -1871,7 +1871,8 @@ ieioctl(ifp, cmd, data)
* Multicast list has changed; set the hardware filter
* accordingly.
*/
- mc_reset(sc);
+ if (ifp->if_flags & IFF_RUNNING)
+ mc_reset(sc);
error = 0;
}
break;