Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mptcp: add last time fields in mptcp_sock
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