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: <20250407121548.GG395307@horms.kernel.org>
Date: Mon, 7 Apr 2025 13:15:48 +0100
From: Simon Horman <horms@...nel.org>
To: Cong Wang <xiyou.wangcong@...il.com>
Cc: netdev@...r.kernel.org, jhs@...atatu.com, jiri@...nulli.us,
	victor@...atatu.com, Gerrard Tai <gerrard.tai@...rlabs.sg>
Subject: Re: [Patch net v2 04/11] sch_qfq: make qfq_qlen_notify() idempotent

On Thu, Apr 03, 2025 at 02:10:26PM -0700, Cong Wang wrote:
> qfq_qlen_notify() always deletes its class from its active list
> with list_del_init() _and_ calls qfq_deactivate_agg() when the whole list
> becomes empty.
> 
> To make it idempotent, just skip everything when it is not in the active
> list.
> 
> Also change other list_del()'s to list_del_init() just to be extra safe.
> 
> Reported-by: Gerrard Tai <gerrard.tai@...rlabs.sg>
> Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>

Reviewed-by: Simon Horman <horms@...nel.org>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ