The document for "lsndtime" in struct tcp_sock is placed in the wrong
place, so let's replace it in the proper place.
Fixes: d5fed5addb2b ("tcp: reorganize tcp_sock fast path variables")
Signed-off-by: Menglong Dong <redacted>
---
include/linux/tcp.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
@@ -200,7 +200,6 @@ struct tcp_sock {/* TX read-mostly hotpath cache lines */__cacheline_group_begin(tcp_sock_read_tx);-/* timestamp of last sent data packet (for restart window) */u32max_window;/* Maximal window ever seen from peer */u32rcv_ssthresh;/* Current window clamp */u32reordering;/* Packet reordering metric. */
@@ -263,7 +262,7 @@ struct tcp_sock {u32chrono_stat[3];/* Time in jiffies for chrono_stat stats */u32write_seq;/* Tail(+1) of data held in tcp send buffer */u32pushed_seq;/* Last pushed seq, required to talk to windows */-u32lsndtime;+u32lsndtime;/* timestamp of last sent data packet (for restart window) */u32mdev_us;/* medium deviation */u32rtt_seq;/* sequence number to update rttvar */u64tcp_wstamp_ns;/* departure time for next sent data packet */
From: Jakub Kicinski <kuba@kernel.org> Date: 2024-11-03 23:27:16
On Wed, 30 Oct 2024 19:31:08 +0800 Menglong Dong wrote:
Fixes: d5fed5addb2b ("tcp: reorganize tcp_sock fast path variables")
Fixes is for bug fixes. Please drop the fixes tag and add a normal text
reference like:
Commit d5fed5addb2b ("tcp: reorganize tcp_sock fast path variables")
moved the fields around and misplaced the documentation for "lsndtime".
--
pw-bot: cr
From: Xuan Zhuo <xuanzhuo@linux.alibaba.com> Date: 2024-11-04 05:35:54
On Wed, 30 Oct 2024 19:31:08 +0800, Menglong Dong [off-list ref] wrote:
The document for "lsndtime" in struct tcp_sock is placed in the wrong
place, so let's replace it in the proper place.
Fixes: d5fed5addb2b ("tcp: reorganize tcp_sock fast path variables")
Signed-off-by: Menglong Dong <redacted>
Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
@@ -200,7 +200,6 @@ struct tcp_sock {/* TX read-mostly hotpath cache lines */__cacheline_group_begin(tcp_sock_read_tx);-/* timestamp of last sent data packet (for restart window) */u32max_window;/* Maximal window ever seen from peer */u32rcv_ssthresh;/* Current window clamp */u32reordering;/* Packet reordering metric. */
@@ -263,7 +262,7 @@ struct tcp_sock {u32chrono_stat[3];/* Time in jiffies for chrono_stat stats */u32write_seq;/* Tail(+1) of data held in tcp send buffer */u32pushed_seq;/* Last pushed seq, required to talk to windows */-u32lsndtime;+u32lsndtime;/* timestamp of last sent data packet (for restart window) */u32mdev_us;/* medium deviation */u32rtt_seq;/* sequence number to update rttvar */u64tcp_wstamp_ns;/* departure time for next sent data packet */--