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: <0rsnq664-1318-nprn-oo15-0n5q1sr9nq62@xreary.bet>
Date: Fri, 31 Oct 2025 10:12:21 +0100 (CET)
From: Jiri Kosina <jikos@...nel.org>
To: Willy Huang <willyhuang@...gle.com>
cc: "Daniel J . Ogorchock" <djogorchock@...il.com>, 
    Benjamin Tissoires <bentiss@...nel.org>, linux-input@...r.kernel.org, 
    linux-kernel@...r.kernel.org
Subject: Re: [PATCH] HID: nintendo: Reduce JC_SUBCMD_RATE_MAX_ATTEMPTS

On Thu, 30 Oct 2025, Willy Huang wrote:

> The JC_SUBCMD_RATE_MAX_ATTEMPTS constant is currently set to 500. 
> In a worst-case scenario where all attempts consistently fail, this could
> cause the loop to block for up to 60000 ms (500 * 60ms * 2, including the 
> additional retry after a timeout).
> 
> This change lowers the maximum potential blocking time to 3000 ms 
> (25 * 60ms * 2), improving system responsiveness and efficiency.
> 
> Signed-off-by: Willy Huang <willyhuang@...gle.com>

Applied, thanks.

-- 
Jiri Kosina
SUSE Labs


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ