From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796383206; b=QaPR/4x1tT8QYZwl2ssDaXk+BKEQqCNdKCu5Son25RfXuoRANc3YK4fWOlcQWtM7p85I TFYj3vp4/tZEZhgw5if3q4iRXdshmI5j8t2PptqhmrDo1lS8eaYFs56QLOXQwIlNrDeAA BiB5ar2xDGdt13fSQZQuhy4QAWW3MVWPH8GHwxm838pGfCM4KSsSukAJAZjF4933U6Mzk wZ/ApjotJxrQpTN6YAuEDh5a26MLkEj/ST4PRhHMlsG6+KEARWa/atVLNPHpF6ptQ6RIM hNvzOD2hSwyNta8ccBjLSg04+fznGx9AOmIug5D6HKsg1h4SxI7aJO/+HkZMe/PBP/A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796383206; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=gf+XXHiDvAYsxWwIyyIzgJhd25xvzQnB0DsbiOo15xE=; b=aGI5+uVGOFRz1Se12PyuKBkxHQGZMe68JJ5Bk9ozIIkCb2SxNxHcGrhXPfQnOaDRFEs+ k4JiTfRusOAJGF0ssOcL5aHFHMuinv9fAT4ee8x8JtPUESDQ2vx8e46+M++Ymrc8yddoI pej1baA0XBGzA1Q/7SVU1VRhY2M0BoXxlHNT6dVhkO0sIyxEEmkyABkg+gGmqEhtFdaeC TMC0gjMqUEC+YVekgs2qp3SgGJYkoz40JnvRamj9MbYd3Ikciu5kQdvETcPJsJcZ1tZbg Xa5dDZ6qRH+0/dcVS8uqT6IlaWGJeUDZc0sapqxtcT7yqL1qtLlqSrMPMkIP/AHAxsA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=g4DsaiFI; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8DF83606A32F; Fri, 4 Dec 2026 11:20:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=g4DsaiFI Received: by smtp.kernel.org (Postfix) with ESMTPSA id 288FE1F000C2; Fri, 4 Dec 2026 11:20:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796383206; bh=gf+XXHiDvAYsxWwIyyIzgJhd25xvzQnB0DsbiOo15xE=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=g4DsaiFIqMqRPMzmS8aRfPc/kh07aEuGdz5daK/kLWSQhp+Y1nc4uVfQlGeCs+r4Y 6vh/RnqczRP71P6rpCKJS84uA7ErPU2eKxFI8+vw23OG9NqjO2vwXakc4Z0R3vrDMU ziJXnybijeNNtemS5th+u5UWL2qTWNWnn5XKlz/phEOMBL+0xuIdBuswqj22d4ZOV/ A8XjVVlbePkx8iBGdA7hqbRIrcukFYbwhbe8sOjbSIK1nfioxm8xJKhGgo36T+94w2 ZW/Dwqg/U72R/OTbdmBmFoimm1bpwaOkotO4uZaXbb5Lz8myiHLmoN4Y3fz827i+kr MlJNe72zCqTHA== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 1CAC23808236; Fri, 4 Dec 2026 11:20:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" X-Mailing-List: bpf@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net v2] tcp: fix division by zero in tcp_cong_avoid_ai() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <179638320490.1029369.16489851508912917080.git-patchwork-notify@kernel.org> Date: Fri, 04 Dec 2026 11:20:04 +0000 References: <20261126164150.8838-1-mdshahid03@gmail.com> In-Reply-To: <20261126164150.8838-1-mdshahid03@gmail.com> To: md shahid Cc: netdev@vger.kernel.org, edumazet@kernel.org, ncardwell@google.com, kuniyu@google.com, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, willemb@google.com Hello: This patch was applied to netdev/net.git (main) by Paolo Abeni : On Thu, 26 Nov 2026 22:11:50 +0530 you wrote: > From: Mohammad Shahid > > The tcp_cong_avoid_ai() function divides tp->snd_cwnd_cnt by > the argument w without checking whether w is zero. > > Since w is an unsigned value, the condition tp->snd_cwnd_cnt > >= w does not prevent division by zero when w is zero. > > [...] Here is the summary with links: - [net,v2] tcp: fix division by zero in tcp_cong_avoid_ai() https://git.kernel.org/netdev/net/c/19727ac1afda You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html