cryptodev: add reference count to session private data
This patch adds a refcnt field to every session private data in the cryptodev symmetric session. The counter is used to prevent freeing symmetr
cryptodev: add reference count to session private data
This patch adds a refcnt field to every session private data in the cryptodev symmetric session. The counter is used to prevent freeing symmetric session blindly before it is not cleared by every type of crypto device in use.
Signed-off-by: Fan Zhang <[email protected]> Acked-by: Fiona Trahe <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|