1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00

Fix a multiple locking bug in bm(4) that could cause panics on a WITNESS-enabled kernel.

Approved by:	marcel (mentor)
MFC after:	1 day
This commit is contained in:
Nathan Whitehorn 2008-09-02 02:50:52 +00:00
parent 32a5d14b26
commit 20a94ecc79
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=182670

View File

@ -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