From: Jakub Kicinski <[email protected]>
Date: Fri, 19 Apr 2019 16:51:38 -0700
> 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 <[email protected]>
> Reviewed-by: Dirk van der Merwe <[email protected]>
Applied and queued up for -stable, thanks.