This is a note to let you know that I've just added the patch titled tcp: fix tcp_min_tso_segs sysctl to the 5.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: tcp-fix-tcp_min_tso_segs-sysctl.patch and it can be found in the queue-5.10 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From d24f511b04b8b159b705ec32a3b8782667d1b06a Mon Sep 17 00:00:00 2001 From: Eric Dumazet <edumazet@xxxxxxxxxx> Date: Mon, 29 Mar 2021 10:40:49 -0700 Subject: tcp: fix tcp_min_tso_segs sysctl From: Eric Dumazet <edumazet@xxxxxxxxxx> commit d24f511b04b8b159b705ec32a3b8782667d1b06a upstream. tcp_min_tso_segs is now stored in u8, so max value is 255. 255 limit is enforced by proc_dou8vec_minmax(). We can therefore remove the gso_max_segs variable. Fixes: 47996b489bdc ("tcp: convert elligible sysctls to u8") Signed-off-by: Eric Dumazet <edumazet@xxxxxxxxxx> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- net/ipv4/sysctl_net_ipv4.c | 2 -- 1 file changed, 2 deletions(-) --- a/net/ipv4/sysctl_net_ipv4.c +++ b/net/ipv4/sysctl_net_ipv4.c @@ -31,7 +31,6 @@ static int two = 2; static int four = 4; static int thousand = 1000; -static int gso_max_segs = GSO_MAX_SEGS; static int tcp_retr1_max = 255; static int ip_local_port_range_min[] = { 1, 1 }; static int ip_local_port_range_max[] = { 65535, 65535 }; @@ -1193,7 +1192,6 @@ static struct ctl_table ipv4_net_table[] .mode = 0644, .proc_handler = proc_dou8vec_minmax, .extra1 = SYSCTL_ONE, - .extra2 = &gso_max_segs, }, { .procname = "tcp_min_rtt_wlen", Patches currently in stable-queue which might be from edumazet@xxxxxxxxxx are queue-5.10/tcp-fix-tcp_min_tso_segs-sysctl.patch queue-5.10/net-sched-fq_pie-ensure-reasonable-tca_fq_pie_quantu.patch queue-5.10/ipv6-rpl-fix-route-of-death.patch queue-5.10/net-sched-move-rtm_tca_policy-declaration-to-include.patch queue-5.10/rfs-annotate-lockless-accesses-to-rfs-sock-flow-tabl.patch queue-5.10/rfs-annotate-lockless-accesses-to-sk-sk_rxhash.patch