mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
KTLS: Free the MAC session when destroying AES-CBC software sessions.
Reviewed by: hselasky MFC after: 1 week Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D35013
This commit is contained in:
parent
914dc91d12
commit
4b337ada34
1 changed files with 1 additions and 0 deletions
|
|
@ -669,6 +669,7 @@ ktls_ocf_free(struct ktls_session *tls)
|
|||
|
||||
os = tls->ocf_session;
|
||||
crypto_freesession(os->sid);
|
||||
crypto_freesession(os->mac_sid);
|
||||
mtx_destroy(&os->lock);
|
||||
zfree(os, M_KTLS_OCF);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue