iflib: fix up a mismerge in r332419
Lead to crashes on boot while in ifconfig. Submitted by: Matthew Macy <mmacy@mattmacy.io>
This commit is contained in:
parent
185aba2dcf
commit
66def52613
@ -2288,7 +2288,7 @@ iflib_stop(if_ctx_t ctx)
|
||||
for (i = 0; i < scctx->isc_nrxqsets; i++, rxq++) {
|
||||
/* make sure all transmitters have completed before proceeding XXX */
|
||||
|
||||
for (j = 0, di = txq->ift_ifdi; j < rxq->ifr_nfl; j++, di++)
|
||||
for (j = 0, di = rxq->ifr_ifdi; j < rxq->ifr_nfl; j++, di++)
|
||||
bzero((void *)di->idi_vaddr, di->idi_size);
|
||||
/* also resets the free lists pidx/cidx */
|
||||
for (j = 0, fl = rxq->ifr_fl; j < rxq->ifr_nfl; j++, fl++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user