Commit c21f899e authored by Atul Gupta's avatar Atul Gupta Committed by Xie XiuQi
Browse files

crypto/chelsio/chtls: listen fails with multiadapt



mainline inclusion
from mainline-4.20
commit 6422ccc5
category: bugfix
bugzilla: 5985
CVE: NA

-------------------------------------------------

listen fails when more than one tls capable device is
registered. tls_hw_hash is called for each dev which loops
again for each cdev_list causing listen failure. Hence
call chtls_listen_start/stop for specific device than loop over all
devices.

Signed-off-by: default avatarAtul Gupta <atul.gupta@chelsio.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarMao Wenan <maowenan@huawei.com>
Reviewed-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 948ff361
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment