crypto/chelsio/chtls: listen fails with multiadapt
authorAtul Gupta <atul.gupta@chelsio.com>
Tue, 11 Dec 2018 10:20:26 +0000 (02:20 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Dec 2018 21:39:39 +0000 (13:39 -0800)
commit6422ccc5fbefbd219f3fab133f698e58f5aa44eb
treea1f82b23d8ec0059b3d1acb98a130bc36dc3bcc5
parentdf9d4a1780223c3ddd4bf0810079b5a75251554e
crypto/chelsio/chtls: listen fails with multiadapt

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: Atul Gupta <atul.gupta@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/crypto/chelsio/chtls/chtls.h
drivers/crypto/chelsio/chtls/chtls_main.c