From 89df0e6b8b27747dc883f3de9e8f46b10fcedc39 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Sat, 15 Jan 2005 05:24:13 +0000 Subject: make sure interface is in RUNNING state before touching the multicast filters From NetBSD NetBSD PR 27678 for details ok mcbride@ --- sys/arch/mvme88k/dev/if_ie.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/arch/mvme88k/dev') 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; -- cgit v1.2.3