Skip to content

Commit a4976a3

Browse files
edumazetdavem330
authored andcommitted
crypto: chelsio/chtls: properly set tp->lsndtime
TCP tp->lsndtime unit/base is tcp_jiffies32, not tcp_time_stamp() Fixes: 36bedb3 ("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]>
1 parent 9a233d3 commit a4976a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/crypto/chelsio/chtls/chtls_io.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ int chtls_push_frames(struct chtls_sock *csk, int comp)
682682
make_tx_data_wr(sk, skb, immdlen, len,
683683
credits_needed, completion);
684684
tp->snd_nxt += len;
685-
tp->lsndtime = tcp_time_stamp(tp);
685+
tp->lsndtime = tcp_jiffies32;
686686
if (completion)
687687
ULP_SKB_CB(skb)->flags &= ~ULPCB_FLAG_NEED_HDR;
688688
} else {

0 commit comments

Comments
 (0)