Skip to content

Commit

Permalink
ad-hoc fix for a kernel crash due to an improper initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
suz committed Sep 27, 2005
1 parent 75190ee commit 4a6d0fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions freebsd5/sys/pci/if_de.c
Expand Up @@ -3070,7 +3070,9 @@ tulip_addr_filter(
}
}
}
#if 0
IF_ADDR_LOCK(&sc->tulip_if);
#endif
if ((sc->tulip_flags & (TULIP_WANTHASHPERFECT|TULIP_WANTHASHONLY)) == 0) {
u_int32_t *sp = sc->tulip_setupdata;
int idx = 0;
Expand Down Expand Up @@ -3122,7 +3124,9 @@ tulip_addr_filter(
#endif
}
}
#if 0
IF_ADDR_UNLOCK(&sc->tulip_if);
#endif
#if defined(IFF_ALLMULTI)
if (sc->tulip_flags & TULIP_ALLMULTI)
sc->tulip_if.if_flags |= IFF_ALLMULTI;
Expand Down

0 comments on commit 4a6d0fc

Please sign in to comment.