summaryrefslogtreecommitdiff
path: root/sys/dev/ie
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2005-08-24 16:50:46 +0000
committerRobert Watson <rwatson@FreeBSD.org>2005-08-24 16:50:46 +0000
commitf0b45413411250a1731acaf286bec7ea1c166c32 (patch)
tree633eaa5cddac16cf9931921e8bc2b49ab6ca672f /sys/dev/ie
parentf08224f9282ebf08945288480ef5251675664f58 (diff)
Notes
Diffstat (limited to 'sys/dev/ie')
-rw-r--r--sys/dev/ie/if_ie.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ie/if_ie.c b/sys/dev/ie/if_ie.c
index febdc693b163..b00b69aff7b1 100644
--- a/sys/dev/ie/if_ie.c
+++ b/sys/dev/ie/if_ie.c
@@ -1676,6 +1676,7 @@ ie_mc_reset(struct ie_softc *sc)
* Step through the list of addresses.
*/
sc->mcast_count = 0;
+ IF_ADDR_LOCK(sc->ifp);
TAILQ_FOREACH(ifma, &sc->ifp->if_multiaddrs, ifma_link) {
if (ifma->ifma_addr->sa_family != AF_LINK)
continue;
@@ -1690,6 +1691,7 @@ ie_mc_reset(struct ie_softc *sc)
&(sc->mcast_addrs[sc->mcast_count]), 6);
sc->mcast_count++;
}
+ IF_ADDR_UNLOCK(sc->ifp);
setflag:
sc->want_mcsetup = 1;