mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
vtnet: fix typo in vtnet_free_taskqueues
Because of a typo, the code was mistakenly resetting the vtnrx_vq pointer rather than vtntx_tq. Reviewed by: bryanv MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D19015
This commit is contained in:
parent
7664b71b62
commit
93ef29690e
1 changed files with 1 additions and 1 deletions
|
|
@ -2748,7 +2748,7 @@ vtnet_free_taskqueues(struct vtnet_softc *sc)
|
|||
rxq = &sc->vtnet_rxqs[i];
|
||||
if (rxq->vtnrx_tq != NULL) {
|
||||
taskqueue_free(rxq->vtnrx_tq);
|
||||
rxq->vtnrx_vq = NULL;
|
||||
rxq->vtnrx_tq = NULL;
|
||||
}
|
||||
|
||||
txq = &sc->vtnet_txqs[i];
|
||||
|
|
|
|||
Loading…
Reference in a new issue