mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Use the correct free routine when destroying a control queue.
X-MFC after: r220873
This commit is contained in:
parent
3e7f54fd44
commit
b5a6d97e1e
1 changed files with 1 additions and 1 deletions
|
|
@ -1470,7 +1470,7 @@ free_ctrlq(struct adapter *sc, struct sge_ctrlq *ctrlq)
|
|||
struct sge_eq *eq = &ctrlq->eq;
|
||||
|
||||
if (eq->flags & (EQ_ALLOCATED | EQ_STARTED)) {
|
||||
rc = -t4_eth_eq_free(sc, sc->mbox, sc->pf, 0, eq->cntxt_id);
|
||||
rc = -t4_ctrl_eq_free(sc, sc->mbox, sc->pf, 0, eq->cntxt_id);
|
||||
if (rc != 0) {
|
||||
device_printf(sc->dev,
|
||||
"failed to free ctrl queue %p: %d\n", eq, rc);
|
||||
|
|
|
|||
Loading…
Reference in a new issue