Author: vmaffione Date: Fri Feb 1 12:22:48 2019 New Revision: 343659 URL: https://svnweb.freebsd.org/changeset/base/343659
Log: MFC r343552 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 Differential Revision: https://reviews.freebsd.org/D19015 Modified: stable/12/sys/dev/virtio/network/if_vtnet.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/dev/virtio/network/if_vtnet.c ============================================================================== --- stable/12/sys/dev/virtio/network/if_vtnet.c Fri Feb 1 10:09:54 2019 (r343658) +++ stable/12/sys/dev/virtio/network/if_vtnet.c Fri Feb 1 12:22:48 2019 (r343659) @@ -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]; _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"