diff options
| author | Sai Rajesh Tallamraju <stallamr@netapp.com> | 2021-02-01 16:13:00 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2021-02-01 16:15:54 +0000 |
| commit | 38bfc6dee33bedb290e1ea2540f97a86fe3caee0 (patch) | |
| tree | 658bf78bf8a6a06949001762892a2a635d2c3b01 /sys/dev/ixl | |
| parent | 45ecda8ebf80bb341aa3b4955810518ae6fab158 (diff) | |
Diffstat (limited to 'sys/dev/ixl')
| -rw-r--r-- | sys/dev/ixl/if_ixl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ixl/if_ixl.c b/sys/dev/ixl/if_ixl.c index 50eb448a1154..097d4b480891 100644 --- a/sys/dev/ixl/if_ixl.c +++ b/sys/dev/ixl/if_ixl.c @@ -1253,7 +1253,7 @@ ixl_if_queues_free(if_ctx_t ctx) struct ixl_pf *pf = iflib_get_softc(ctx); struct ixl_vsi *vsi = &pf->vsi; - if (!vsi->enable_head_writeback) { + if (vsi->tx_queues != NULL && !vsi->enable_head_writeback) { struct ixl_tx_queue *que; int i = 0; |
