diff options
Diffstat (limited to 'sys/pci/if_wb.c')
-rw-r--r-- | sys/pci/if_wb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/pci/if_wb.c b/sys/pci/if_wb.c index 0677fcab426c..9c44e2e12e69 100644 --- a/sys/pci/if_wb.c +++ b/sys/pci/if_wb.c @@ -614,6 +614,7 @@ wb_setmulti(sc) CSR_WRITE_4(sc, WB_MAR1, 0); /* now program new ones */ + IF_ADDR_LOCK(ifp); TAILQ_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) { if (ifma->ifma_addr->sa_family != AF_LINK) continue; @@ -625,6 +626,7 @@ wb_setmulti(sc) hashes[1] |= (1 << (h - 32)); mcnt++; } + IF_ADDR_UNLOCK(ifp); if (mcnt) rxfilt |= WB_NETCFG_RX_MULTI; |