Dave Watson 1023121375 net: tls: Fix deadlock in free_resources tx
If there are outstanding async tx requests (when crypto returns EINPROGRESS),
there is a potential deadlock: the tx work acquires the lock, while we
cancel_delayed_work_sync() while holding the lock.  Drop the lock while waiting
for the work to complete.

Fixes: a42055e8d2c30 ("Add support for async encryption of records...")
Signed-off-by: Dave Watson <davejwatson@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-01-28 23:07:08 -08:00
..
2018-12-25 17:07:49 +09:00
2018-10-23 10:57:06 -07:00
2019-01-23 11:18:00 -08:00
2019-01-27 23:11:55 -08:00
2018-11-10 16:55:11 -08:00
2018-10-22 19:59:20 -07:00
2019-01-27 10:38:04 -08:00
2019-01-07 07:22:36 -08:00
2018-07-24 14:10:42 -07:00
2018-11-29 14:25:36 -08:00
2018-12-28 12:45:04 -08:00