ktls/af_ktls

Sleeping with lock held

Closed this issue · 1 comments

tls_rx_async_work acquires tsk->rx_lock, then tries to lock_sock() twice (for both tsk and the underlying socket). lock_sock() potentially sleeps

Need to investigate this further. tsk->rx_lock is not a spinlock, so it should be okay. But for some reason the kernel locking debug module still complained.