crypto: chelsio/chtls: properly set tp->lsndtime
authorEric Dumazet <edumazet@google.com>
Wed, 27 May 2020 00:28:56 +0000 (17:28 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Jun 2020 06:21:36 +0000 (08:21 +0200)
commit2b043affcaea8be75f1a8b08173cf5dc69296a82
tree7ceec1b2423db1a11bb75eae99b4d212bed5e57a
parenta369e8378b48aa8fc93e574e5df7e198cfb88cd4
crypto: chelsio/chtls: properly set tp->lsndtime

commit a4976a3ef844c510ae9120290b23e9f3f47d6bce upstream.

TCP tp->lsndtime unit/base is tcp_jiffies32, not tcp_time_stamp()

Fixes: 36bedb3f2e5b ("crypto: chtls - Inline TLS record Tx")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Ayush Sawal <ayush.sawal@chelsio.com>
Cc: Vinay Kumar Yadav <vinay.yadav@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/crypto/chelsio/chtls/chtls_io.c