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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250516163709.5cbd66bc@kernel.org>
Date: Fri, 16 May 2025 16:37:09 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Johannes Berg <johannes@...solutions.net>
Cc: linux-wireless@...r.kernel.org, netdev@...r.kernel.org, Johannes Berg
 <johannes.berg@...el.com>
Subject: Re: [PATCH net-next] net: netlink: reduce extack cookie size

On Fri, 16 May 2025 13:59:27 +0200 Johannes Berg wrote:
> From: Johannes Berg <johannes.berg@...el.com>
> 
> Seems like the extack cookie hasn't found any users outside
> of wireless, which always uses nl_set_extack_cookie_u64().
> Thus, allocating 20 bytes for it is pointless, reduce that
> to 8 bytes, and add a BUILD_BUG_ON() to ensure it's enough
> (obviously it is, for a u64, but in case it changes again.)

Reviewed-by: Jakub Kicinski <kuba@...nel.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ