Commit 6e3163c
chelsio/chtls: fix deadlock issue
[ Upstream commit 28e9dcd ]
In chtls_pass_establish() we hold child socket lock using bh_lock_sock
and we are again trying bh_lock_sock in add_to_reap_list, causing deadlock.
Remove bh_lock_sock in add_to_reap_list() as lock is already held.
Fixes: cc35c88 ("crypto : chtls - CPL handler definition")
Signed-off-by: Vinay Kumar Yadav <vinay.yadav@chelsio.com>
Link: https://lore.kernel.org/r/20201025193538.31112-1-vinay.yadav@chelsio.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent c4fd583 commit 6e3163c
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1514 | 1514 | | |
1515 | 1515 | | |
1516 | 1516 | | |
1517 | | - | |
1518 | 1517 | | |
1519 | 1518 | | |
1520 | 1519 | | |
| |||
1523 | 1522 | | |
1524 | 1523 | | |
1525 | 1524 | | |
1526 | | - | |
1527 | 1525 | | |
1528 | 1526 | | |
1529 | 1527 | | |
| |||
0 commit comments