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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250428134246.147b02fe@kernel.org>
Date: Mon, 28 Apr 2025 13:42:46 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Chaohai Chen <wdhh6@...yun.com>
Cc: davem@...emloft.net, edumazet@...gle.com, pabeni@...hat.com,
 horms@...nel.org, steffen.klassert@...unet.com,
 herbert@...dor.apana.org.au, paul@...l-moore.com, pablo@...filter.org,
 kadlec@...filter.org, netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
 linux-security-module@...r.kernel.org, netfilter-devel@...r.kernel.org,
 coreteam@...filter.org
Subject: Re: [PATCH] net:ipv4: Use shift left 2 to calculate the length of
 the IPv4 header.

On Sun, 27 Apr 2025 14:17:06 +0800 Chaohai Chen wrote:
> Encapsulate the IPV4_HEADER_LEN macro and use shift left 2 to calculate
> the length of the IPv4 header instead of multiplying 4 everywhere.

Doesn't seem worth the churn, sorry.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ