diff options
author | Eric Dumazet <[email protected]> | 2020-05-26 17:28:56 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-05-26 23:24:00 -0700 |
commit | a4976a3ef844c510ae9120290b23e9f3f47d6bce (patch) | |
tree | 427837160338ab72c6f87abb07700f04226090db | |
parent | 9a233d329ec5cd2dd64737d24018c1463ad88f26 (diff) |
crypto: chelsio/chtls: properly set tp->lsndtime
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 <[email protected]>
Cc: Ayush Sawal <[email protected]>
Cc: Vinay Kumar Yadav <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
-rw-r--r-- | drivers/crypto/chelsio/chtls/chtls_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/chelsio/chtls/chtls_io.c b/drivers/crypto/chelsio/chtls/chtls_io.c index dccef3a2908b..e1401d9cc756 100644 --- a/drivers/crypto/chelsio/chtls/chtls_io.c +++ b/drivers/crypto/chelsio/chtls/chtls_io.c @@ -682,7 +682,7 @@ int chtls_push_frames(struct chtls_sock *csk, int comp) make_tx_data_wr(sk, skb, immdlen, len, credits_needed, completion); tp->snd_nxt += len; - tp->lsndtime = tcp_time_stamp(tp); + tp->lsndtime = tcp_jiffies32; if (completion) ULP_SKB_CB(skb)->flags &= ~ULPCB_FLAG_NEED_HDR; } else { |