Commit a447976
Paolo Abeni
tcp: call tcp_measure_rcv_mss() for ooo packets
JIRA: https://issues.redhat.com/browse/RHEL-115580
Upstream commit:
commit 38d7e44
Author: Eric Dumazet <edumazet@google.com>
Date: Fri Jul 11 11:40:02 2025 +0000
tcp: call tcp_measure_rcv_mss() for ooo packets
tcp_measure_rcv_mss() is used to update icsk->icsk_ack.rcv_mss
(tcpi_rcv_mss in tcp_info) and tp->scaling_ratio.
Calling it from tcp_data_queue_ofo() makes sure these
fields are updated, and permits a better tuning
of sk->sk_rcvbuf, in the case a new flow receives many ooo
packets.
Fixes: dfa2f04 ("tcp: get rid of sysctl_tcp_adv_win_scale")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20250711114006.480026-5-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>1 parent 92de1ca commit a447976
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5044 | 5044 | | |
5045 | 5045 | | |
5046 | 5046 | | |
| 5047 | + | |
5047 | 5048 | | |
5048 | 5049 | | |
5049 | 5050 | | |
| |||
0 commit comments