[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230306140931.4c21d871@hermes.local>
Date: Mon, 6 Mar 2023 14:09:31 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Mike Freemon <mfreemon@...udflare.com>
Cc: netdev@...r.kernel.org
Subject: Re: [RFC PATCH] Add a sysctl to allow TCP window shrinking in order
to honor memory limits
On Mon, 6 Mar 2023 15:30:58 -0600
Mike Freemon <mfreemon@...udflare.com> wrote:
> + if (net->ipv4.sysctl_tcp_shrink_window) {
> + if (free_space < (1 << tp->rx_opt.rcv_wscale))
> + return 0;
> + }
Please combine if clauses with &&
Powered by blists - more mailing lists