summaryrefslogtreecommitdiffstats
path: root/net/key
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2019-04-19 16:51:38 -0700
committerDavid S. Miller <davem@davemloft.net>2019-04-20 20:35:28 -0700
commit62ef81d5632634d5e310ed25b9b940b2b6612b46 (patch)
tree0a1dfa9519bc6bc9a5c0b7d30566c5219ba1c2ad /net/key
parent8c03557c3f25271e62e39154af66ebdd1b59c9ca (diff)
downloadlinux-62ef81d5632634d5e310ed25b9b940b2b6612b46.tar.bz2
net/tls: avoid potential deadlock in tls_set_device_offload_rx()
If device supports offload, but offload fails tls_set_device_offload_rx() will call tls_sw_free_resources_rx() which (unhelpfully) releases and reacquires the socket lock. For a small fix release and reacquire the device_offload_lock. Fixes: 4799ac81e52a ("tls: Add rx inline crypto offload") Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/key')
0 files changed, 0 insertions, 0 deletions