crypto: chtls - generic handling of data and hdr
authorAtul Gupta <atul.gupta@chelsio.com>
Mon, 14 May 2018 11:11:38 +0000 (16:41 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 26 May 2018 16:11:33 +0000 (00:11 +0800)
commit17a7d24aa89d64c325dce97e1e314a8558b26fca
treed61f3e3f5740664034f55bc4f6efa6febe2899fd
parent6ecc9d9ff91ff26769e58164b6216c6189cb8302
crypto: chtls - generic handling of data and hdr

removed redundant check and made TLS PDU and header recv
handling common as received from HW.
Ensure that only tls header is read in cpl_rx_tls_cmp
read-ahead and skb is freed when entire data is processed.

Signed-off-by: Atul Gupta <atul.gupta@chelsio.com>
Signed-off-by: Harsh Jain <harsh@chelsio.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chtls/chtls.h
drivers/crypto/chelsio/chtls/chtls_cm.c
drivers/crypto/chelsio/chtls/chtls_io.c