Skip to content

Commit

Permalink
mptcp: add last time fields in mptcp_sock
Browse files Browse the repository at this point in the history
This patch adds "last time" fields last_data_sent, last_data_recv and
last_ack_recv in struct mptcp_sock to record the last time data_sent,
data_recv and ack_recv happened. They all are initialized as
tcp_jiffies32 in __mptcp_init_sock(), but updated as tcp_jiffies32 too
when data is sent in __subflow_push_pending(), data is received in
mptcp_recvmsg(), and ack is received in ack_update_msk().

Signed-off-by: Geliang Tang <[email protected]>
  • Loading branch information
Geliang Tang committed Mar 22, 2024
1 parent 9996a92 commit deebbbd
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 519 deletions.
Loading

0 comments on commit deebbbd

Please sign in to comment.