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:
parent
32a5d14b26
commit
20a94ecc79
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=182670
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user