The branch stable/12 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=94a5e942b0b6cab83a8255d61b57a3fd1638f321
commit 94a5e942b0b6cab83a8255d61b57a3fd1638f321 Author: Mark Johnston <[email protected]> AuthorDate: 2021-01-14 16:41:28 +0000 Commit: Mark Johnston <[email protected]> CommitDate: 2021-01-18 17:01:20 +0000 qat: Free counters during detach Sponsored by: Rubicon Communications, LLC (Netgate) (cherry picked from commit 6483fc224b1a68528a65c16e9d8e55e2b5535ee9) --- sys/dev/qat/qat.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/dev/qat/qat.c b/sys/dev/qat/qat.c index 7a232b085095..306d031c3712 100644 --- a/sys/dev/qat/qat.c +++ b/sys/dev/qat/qat.c @@ -1675,6 +1675,11 @@ qat_crypto_deinit(struct qat_softc *sc) struct qat_crypto_bank *qcb; int bank; + counter_u64_free(sc->sc_sym_alloc_failures); + counter_u64_free(sc->sc_ring_full_restarts); + counter_u64_free(sc->sc_gcm_aad_updates); + counter_u64_free(sc->sc_gcm_aad_restarts); + if (qcy->qcy_banks != NULL) { for (bank = 0; bank < qcy->qcy_num_banks; bank++) { qcb = &qcy->qcy_banks[bank]; _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all To unsubscribe, send any mail to "[email protected]"
