lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
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 &&