summaryrefslogtreecommitdiff
path: root/include/net/tls.h
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@nvidia.com>2022-07-27 12:43:41 +0300
committerJakub Kicinski <kuba@kernel.org>2022-07-29 07:50:54 +0300
commit113671b255ee3b9f5585a6d496ef0e675e698698 (patch)
tree792c7a6c73684c1e2bafc1dfefecd50f9fecb317 /include/net/tls.h
parent8fd1e151779285b211e7184e9237bba69bd74386 (diff)
downloadlinux-113671b255ee3b9f5585a6d496ef0e675e698698.tar.xz
net/tls: Perform immediate device ctx cleanup when possible
TLS context destructor can be run in atomic context. Cleanup operations for device-offloaded contexts could require access and interaction with the device callbacks, which might sleep. Hence, the cleanup of such contexts must be deferred and completed inside an async work. For all others, this is not necessary, as cleanup is atomic. Invoke cleanup immediately for them, avoiding queueing redundant gc work. Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Reviewed-by: Maxim Mikityanskiy <maximmi@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/tls.h')
0 files changed, 0 insertions, 0 deletions