diff options
author | Atul Gupta <atul.gupta@chelsio.com> | 2018-12-11 13:20:26 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-15 00:39:39 +0300 |
commit | 6422ccc5fbefbd219f3fab133f698e58f5aa44eb (patch) | |
tree | a1f82b23d8ec0059b3d1acb98a130bc36dc3bcc5 /drivers/crypto/chelsio/chtls/chtls.h | |
parent | df9d4a1780223c3ddd4bf0810079b5a75251554e (diff) | |
download | linux-6422ccc5fbefbd219f3fab133f698e58f5aa44eb.tar.xz |
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>
Diffstat (limited to 'drivers/crypto/chelsio/chtls/chtls.h')
-rw-r--r-- | drivers/crypto/chelsio/chtls/chtls.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/crypto/chelsio/chtls/chtls.h b/drivers/crypto/chelsio/chtls/chtls.h index 7725b6ee14ef..fcb6747ed29e 100644 --- a/drivers/crypto/chelsio/chtls/chtls.h +++ b/drivers/crypto/chelsio/chtls/chtls.h @@ -153,6 +153,11 @@ struct chtls_dev { unsigned int cdev_state; }; +struct chtls_listen { + struct chtls_dev *cdev; + struct sock *sk; +}; + struct chtls_hws { struct sk_buff_head sk_recv_queue; u8 txqid; |