🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #5998

Re: [PATCH net] net/sched: cls_flow: avoid integer overflow in perturb_period

#5998
From: Wei Tao
Date: Wed, 21 Oct 2026 12:43
8 lines
8403 bytes
> Same questions / treatment as your cls_fw patch.

Same treatment as the cls_fw patch.  I will post the v2 once net-next
reopens.

Thanks,
Wei Tao
Technical Details
Message-ID: <20261021124358.369372-1-taowei@kylinos.cn>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-350007-linux-kernel-netdev=dewy.ru
References: <20261020142422.7ae3e051@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-350007-linux-kernel-netdev=dewy.ru
From: taowei@kylinos.cn (Wei Tao)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net/sched: cls_flow: avoid integer overflow in perturb_period
Date: Wed, 21 Oct 2026 20:43:58 +0800
Organization: Usenet Network
Sender: cs_taowei@163.com
Message-ID: <20261021124358.369372-1-taowei@kylinos.cn>
References: <20261020142422.7ae3e051@kernel.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="4143428"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:ahswvRTe+3T9y+sxtDTqjxUHC6M= sha256:/rgImuYBY+iHjBIcYq+tGc1geYhhbK8TBOoZi270ngU=
	sha1:YK3v7vJVa453Zwehj9yfxr/7az4= sha256:AFE/plMKgybIqF0yosVDi0N1EhzbOCnz/XxSM0z/Two=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 74B05111006; Wed, 21 Oct 2026 15:51:05 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31
	tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
	UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=163.com
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id bIN9tPRyqtSD;
	Wed, 21 Oct 2026 15:51:01 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-350007-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=kylinos.cn
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id AC1D5110FCB; Wed, 21 Oct 2026 15:50:52 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id 7DE2461391D; Wed, 21 Oct 2026 12:45:09 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1792586696;
	b=4dgaM7TFY6yJGfbS28gGWoifnTE+UUGBxFXrOBTYJNMvwYn3Ay699P+79D4OaOHKFZb2
	 Ca/8hoKLFI6K/PPrzGK549Te/Lbc3jMmbLQEazIznr2BCgY8wlo2vEmGk3f1X9xKBRiRH
	 ez8z0EFkKS81P0fPI/givABGeh/1mO1uXwL9tMEBbYqcPVN0IwGUFalreV87/Lid27tkF
	 DydPveVwbIW0pIEh7hPOxzjU5OrB4hcGIdQbQEx4UGBVwJPIRh/TpE2vL4VwP73MvHPhm
	 GM5VJR5VpJEdaA9wAgD4ZLse0oai8Z1FpFS83Ncn+z9MD/MhMkywB8sHF9Z0bApGfsg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792586696;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:From:To:
	 Cc:Subject:Date:Message-Id:X-Mailer:In-Reply-To:References:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:X-CM-TRANSID:X-Coremail-Antispam:Sender:
	 X-CM-SenderInfo;
	bh=xUZr/zqEmoEBovgMSDTVhuMDucl7/TZ8GHZmXHe3qV8=;
	b=2hDQ0CECtpiv0T1+2IBt8cYZ7yfA5TOo0c9X+QUvHbtffVakBzz0mZrMjJSD0EMtm3d7
	 gl9wVbkIebRiKpHx2QJCVLwwD+c4mA6Hfjj4UIhAjJbGnjgsdHCF7ZyakSb8KEst3p1LN
	 zUMT671yBgkLeRz9xuA/Ei8alFUhv2N8Sv9N2sGWzxVYoT5U56Cb8iDgyV6/EVD95u4kd
	 3wwmOo6qXPNLckNwJxGAVsvVPcXMVKGkFpz8nyF0gtLZa2RaAJAAsLXBp02fO+o2+AEhG
	 0IQ1EBBFKx7pjEAZ/1iEJbRljDl1nBP7ioZgJPnBcjRpK2spc7pBR0pVLcTthhKEcjQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=163.com header.i=@163.com header.a=rsa-sha256 header.s=s110527 header.b=XPtgk83Q;
	dmarc=none header.from=kylinos.cn;
	spf=pass smtp.mailfrom=163.com;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id DDB0B60A2609;
	Wed, 21 Oct 2026 12:44:55 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key, unprotected) header.d=163.com header.i=@163.com header.a=rsa-sha256 header.s=s110527 header.b=XPtgk83Q
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=117.135.210.3
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792586684;
	b=zX9aI5lomrJyjxJ9VywTukoeAGUxEG1SWSootdSjSliymRDKpAy5eQ3jDXG2HiVlltZI
	 42we5E9ITpRUCTwk3ZEm2JC1JMWrXqu468st0u2546Uu1edUnVjPc+Rh6OycMTUr8k+Du
	 s382d2Az4r/T02jq5UKCYqoawKyYXVwX6JjXmusz1OYsPQRmUj79j5Fy2npGJBmO73del
	 3ZVRrn1pLrzaH5KvvjVboluCm83m5+JXWMzJYKN3Wz/N8fVr+5rbyI3oRYfLb19jTjK0u
	 YIo01rdJSveKo8L19pKg6AEhpr0KM/uTQ8XkbaFXUriMDxyaQq7DlAP8j0hzVPBj3Sg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792586684;
	h=DMARC-Filter:DKIM-Signature:Received:From:To:Cc:Subject:Date:
	 Message-Id:X-Mailer:In-Reply-To:References:MIME-Version:
	 Content-Transfer-Encoding:X-CM-TRANSID:X-Coremail-Antispam:Sender:
	 X-CM-SenderInfo;
	bh=xUZr/zqEmoEBovgMSDTVhuMDucl7/TZ8GHZmXHe3qV8=;
	b=z75ksWA2A47QDhtwo5n1ncnwYKmUDgLAQ4LvE66KeQjZhLc3jFPO3WU36lTa/Ec7hYw4
	 zwMHRzlOrv2Pqasn0i4KY3/DKtcyNdSGUz4JJaCaRG3eMxccpwxhH+8wlLGADyh3RwgVl
	 MqiebPAVKTEtTqV/DMOpLZx1xuDtK2B9A8f/Xpuea+QdigxcrWpzNik4ErXvd33A7s+A8
	 Ylu6jBmGW987AQ4JSAhJrcw6exUPaIsYCe/bPwOclQiT6VwFQpfsHvwbxrSGQHbmAnTB8
	 KSyJtDaYyXSmcp9on6ow6s5ayH+jDVYf3FIxiFN3r3PJbLd86csA+ayMLOPN+Wgj4Ug==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=none header.from=kylinos.cn;
	spf=pass smtp.mailfrom=163.com;
	dkim=pass header.d=163.com header.i=@163.com header.a=rsa-sha256 header.s=s110527 header.b=XPtgk83Q;
	arc=none smtp.remote-ip=117.135.210.3
X-Received: from m16.mail.163.com (m16.mail.163.com [117.135.210.3])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 75584606A31A;
	Wed, 21 Oct 2026 12:44:40 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 75584606A31A
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kylinos.cn
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=163.com
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com;
	s=s110527; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=xU
	Zr/zqEmoEBovgMSDTVhuMDucl7/TZ8GHZmXHe3qV8=; b=XPtgk83Q40VYA+HJ16
	zfMzS0bsB5U1UenLgg8/TKcQ3aHYK3TodlRLsaszs3AUXxTZuqjSoYZNdm0w6K3T
	9NTNyvZslwF3mXcKLPUMb5E1iSJzwzqj/j47vlCFqwh58tzE6On5UXSWLtJ0vBud
	ENSHFH1JhPHNz83LZX5fCJYgU=
X-Received: from localhost.localdomain (unknown [])
	by gzsmtp4 (Coremail) with SMTP id PygvCgA305aOs9hqlSXSBA--.18552S2;
	Wed, 21 Oct 2026 20:43:59 +0800 (CST)
X-Cc: taowei@kylinos.cn,
	jhs@mojatatu.com,
	jiri@resnulli.us,
	davem@davemloft.net,
	edumazet@kernel.org,
	pabeni@redhat.com,
	horms@kernel.org,
	netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	stable@vger.kernel.org
X-Mailer: git-send-email 2.25.1
X-In-Reply-To: <20261020142422.7ae3e051@kernel.org>
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-CM-TRANSID: PygvCgA305aOs9hqlSXSBA--.18552S2
X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73
	VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUaZjjUUUUU
X-CM-SenderInfo: xfvb3tprzhxqqrwthudrp/xtbC-RDhI2rYs5BJdQAA3C