Skip to content

Commit

Permalink
Fix a multiple locking bug in bm(4) that could cause panics on a WITN…
Browse files Browse the repository at this point in the history
…ESS-enabled kernel.

Approved by:	marcel (mentor)
MFC after:	1 day
  • Loading branch information
nwhitehorn committed Sep 2, 2008
1 parent 32a5d14 commit 20a94ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/dev/bm/if_bm.c
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ bm_dummypacket(struct bm_softc *sc)
mtod(m, unsigned char *)[16] = 0xE3;
m->m_len = m->m_pkthdr.len = sizeof(struct ether_header) + 3;
IF_ENQUEUE(&ifp->if_snd, m);
bm_start(ifp);
bm_start_locked(ifp);
}

static void
Expand Down

0 comments on commit 20a94ec

Please sign in to comment.