]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
chelsio/chtls: fix socket lock
authorVinay Kumar Yadav <vinay.yadav@chelsio.com>
Mon, 19 Oct 2020 11:50:20 +0000 (17:20 +0530)
committerJakub Kicinski <kuba@kernel.org>
Wed, 21 Oct 2020 00:29:16 +0000 (17:29 -0700)
commit0fb5f0160a36d7acaa8e84ce873af99f94b60484
tree2bc9597c36388986c65f2baad0cea9a760c48201
parent280e3ebdafb863b3cb50d5842f056267e15bf40c
chelsio/chtls: fix socket lock

In chtls_sendpage() socket lock is released but not acquired,
fix it by taking lock.

Fixes: 36bedb3f2e5b ("crypto: chtls - Inline TLS record Tx")
Signed-off-by: Vinay Kumar Yadav <vinay.yadav@chelsio.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c