summaryrefslogtreecommitdiffstats
path: root/sys/dev/et/if_et.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/et/if_et.c')
-rw-r--r--sys/dev/et/if_et.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/et/if_et.c b/sys/dev/et/if_et.c
index b59cf78..1e28f0b 100644
--- a/sys/dev/et/if_et.c
+++ b/sys/dev/et/if_et.c
@@ -1361,7 +1361,7 @@ et_setmulti(struct et_softc *sc)
}
count = 0;
- IF_ADDR_LOCK(ifp);
+ if_maddr_rlock(ifp);
TAILQ_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) {
uint32_t *hp, h;
@@ -1387,7 +1387,7 @@ et_setmulti(struct et_softc *sc)
++count;
}
- IF_ADDR_UNLOCK(ifp);
+ if_maddr_runlock(ifp);
for (i = 0; i < 4; ++i)
CSR_WRITE_4(sc, ET_MULTI_HASH + (i * 4), hash[i]);
OpenPOWER on IntegriCloud