Article View: linux.kernel.netdev
Article #10318Re: [PATCH net v3] tun: bound the NAPI receive queue
From: Antonio Quartulli
Date: Tue, 03 Nov 2026 11:05
Date: Tue, 03 Nov 2026 11:05
34 lines
10178 bytes
10178 bytes
Hi, On 02/11/2026 00:23, netdev-bot+sashiko@kernel.org wrote: > Thank you for your contribution! Sashiko AI review found 2 potential > issue(s) to consider. > > Critical: 0 · High: 1 · Medium: 1 · Low: 0 > > If you believe none of the issues are legitimate, please reply to each > issue of Medium severity or higher and explain why the AI is wrong. > If any of them are legitimate and you plan to respin, please let patchwork > know by including "pw-bot: cr" as a separate line at the end of your reply > (one such reply per series is enough). > > - [High] The new limit does not bound the IFF_NAPI queue in the case the > patch is meant to fix: a threaded NAPI poll on another CPU that is⦠> - [Medium] The new full-queue drop paths return before NAPI is scheduled, > which can leave queued skbs stuck. > Sashiko raised valid findings - therefore v4 will address them too. Regards, pw-bot: cr -- Antonio Quartulli CEO and Co-Founder Mandelbit Srl https://www.mandelbit.com
Technical Details
Message-ID:
<763512c9-e67c-45a5-82f6-580661e79771@mandelbit.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355500-linux-kernel-netdev=dewy.ruReferences:
<20261031231444.1528758-1-antonio@mandelbit.com> <179357538131.3131.13550708149751579907@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-355500-linux-kernel-netdev=dewy.ru From: antonio@mandelbit.com (Antonio Quartulli) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net v3] tun: bound the NAPI receive queue Date: Tue, 3 Nov 2026 12:05:57 +0100 Organization: Usenet Network Message-ID: <763512c9-e67c-45a5-82f6-580661e79771@mandelbit.com> References: <20261031231444.1528758-1-antonio@mandelbit.com> <179357538131.3131.13550708149751579907@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3161703"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:sbEQvsXKuXAFZcylYWZPyZKMf9g= sha256:yD4rr55YhpLQHdZ3k+c9zNqxRijhujWWxlqlLB4R/dU= sha1:ErTB/GD7VbZ8g9GM8oFK+g5FV2c= sha256:iu3Cf2bllD3ZyQM0hArUBXmsAD0Hg+z2ODIDsul3k0U= Content-Language: en-US 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 EB531112860; Tue, 3 Nov 2026 15:09:06 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.051 X-Spam-Status: No, score=-3.051 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=mandelbit.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 VNJzFJprm_2V; Tue, 3 Nov 2026 15:09:04 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-355500-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=mandelbit.com X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 96CBC112849; Tue, 3 Nov 2026 15:08:55 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id D3C36100DF3; Tue, 3 Nov 2026 11:10:34 +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=1793703971; b=nyUbz717gM5trUhUZ1RgU3F1jqNirqLQy50I9msrBUX6fu8fgDuEY9fijgIPTEmdlb5a rUr7IjJm8rD3Vb2Uj31Jk793I8v8YxcCj8ODkhtYVp7U/ZPJsGSJ+EmMnaOcczVSOcABo 1X6bv6vZLKUy9c5XHZuFrhqVivaf1AItOOiaStHoWzuDBgVoxzR+Bj4a5QNVU8UAPQh2M ATJg9JFjyrzgjqLO/7dYdvPLp6JtaXQMqrqfIDzUb0IglJXy6XgbnLzwwyGydabvqXX1t 9IuoHNczYZmzKp59c9nYgfcx7Du7VZq0F6NVQOSKPqjREK3svIsIII3OJ4hotRKztXA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793703971; h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature: Message-ID:Date:X-Mailing-List:List-Id:List-Post:List-Help: List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version: User-Agent:Subject:To:Cc:References:Content-Language:From: Organization:In-Reply-To:Content-Type:Content-Transfer-Encoding: X-Rspamd-Queue-Id; bh=2NBUlF2vMqdkR9YRYyGzFoJ+5Fd8CMZ+Dei906GMItY=; b=peOYotptrtTF+P6eOebXLWjXphNhhmoLyL9C//Rkc0dUygP0NgRKHu1tDp/iMtVImIwe dHsm/x8c2aCfHmo6LVKShnUDBk/HTANlGze7EjpD4k4csFNOfNETdaeq+5yZ8E1IRLDth W/IjP+BzIcrAaZRXnNjqBzDMmetNNSs25N3Ir2RlMz3nYgf3Ons31jIYQoRhFQlUkwE5/ F+6xgNamgZ1d9fgiuKKXJ2gPeLgB6Lv8/t1xY5eIP9G7D73aEog2YTut1qWfc2kVy0G5h ZGfyKV/9Z7bWEbDlHDG0ygQ1q2FVPhNEmLfzLeOcX3JpHX7dfDVXJhGCLw15yvjpq4w== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=mandelbit.com header.i=@mandelbit.com header.a=rsa-sha256 header.s=MBO0001 header.b=PsilCqkV; dmarc=none header.from=mandelbit.com; spf=pass smtp.mailfrom=mandelbit.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 AC58E606C59E; Tue, 3 Nov 2026 11:06:11 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=mandelbit.com header.i=@mandelbit.com header.a=rsa-sha256 header.s=MBO0001 header.b=PsilCqkV X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=195.10.208.52 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793703970; b=SMFvv8ohPj2O92G41NwkS3v6ub4hcvu5YMqTjjW9bM/dr6WBgiajCfifMqsfMLXC4/6f xnJSuSvY16cN7o7NCV4SvL6F9RP9j9fqdfx7Jzrw5yw2kKZSN1QBgPkoUHruMzFbs/SRz BpGR2XeVmbdrI5v9aSfGPJHMxzLBFcEFGDyfUMOpjA7SzJThDfGjsihY4gnvDei3aQMeZ A+lYVo92cPm7a/9HOa/B5Yhtfzyj/01U18W/RDKn5IKRj0yaGYucl56EvTsfZMVc7HeSe qooDxaN1wxwCOlwJBHghUG3e9WUkLws/nKOtjqbGLyA+4Hiopkz8B3R441XAbUaaVag== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793703970; h=DMARC-Filter:Received:DKIM-Signature:Message-ID:Date:MIME-Version: User-Agent:Subject:To:Cc:References:Content-Language:From: Organization:In-Reply-To:Content-Type:Content-Transfer-Encoding: X-Rspamd-Queue-Id; bh=2NBUlF2vMqdkR9YRYyGzFoJ+5Fd8CMZ+Dei906GMItY=; b=3O74q0QvgH2hHqKnSUdXS9FkIqDeE8QxoIzMz3+aiOG1nj6fR+PCQ3SHzEPq62hvgzyi g69pEI0bQyZRgMWJnHmrRLeb5QNilRbpVfMEeBPXja1EaF+o6ZsSgJdr6lxjTI3oe2w31 l9rnuWHPR+Ss2JH2oJT13rGaJZkymyF3NXwJPUbt5z4zqmrmrfJrBA97f2FIcddGzCrcD /fTfq+FKI44CEfxbSL5w5ypU4yJNW7vBNKdaUWJnAvzK/SFY7lcbCX/fwWKhORaZH9GNb X3MUgLkba87djxeyMBsbWAK5F6lAf8P0z2QITOKkv7+vJYps+dk7AGQkA4Cps41Iqhg== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=mandelbit.com; spf=pass smtp.mailfrom=mandelbit.com; dkim=pass header.d=mandelbit.com header.i=@mandelbit.com header.a=rsa-sha256 header.s=MBO0001 header.b=PsilCqkV; arc=none smtp.remote-ip=195.10.208.52 X-Received: from mout-b-203.mailbox.org (mout-b-203.mailbox.org [195.10.208.52]) (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 E67B6606BF9D for <netdev@vger.kernel.org>; Tue, 3 Nov 2026 11:06:07 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E67B6606BF9D X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mandelbit.com X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mandelbit.com X-Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519MLKEM768 server-signature RSA-PSS (4096 bits) server-digest SHA512) (No client certificate requested) by mout-b-203.mailbox.org (Postfix) with ESMTPS id 4jJm2t5Z29zLmGF; Tue, 03 Nov 2026 12:05:58 +0100 (CET) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandelbit.com; s=MBO0001; t=1793703958; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2NBUlF2vMqdkR9YRYyGzFoJ+5Fd8CMZ+Dei906GMItY=; b=PsilCqkVn+2ZlZ5nVytALni9FLjJIvuwJNPPyJENYLQVuSAs6eyzYT5eZfG9tDimJZUOiz uYPbc+7omktr59JRYy0gwUEkAFYuOsLQRDbDwzPxi2E/3evDtxBVuAGEJnIswr12gz8B5g LL7SzLnJbZRQPR7gDns4Czd9uQmnuFi4iNujv5N4VMn6c6BPV1c4yzZG9aTlqv5MEZcLmV PBZOl+ppw3DuA5oFz6EYUv5k5H6cjgGRNmj+DEvf/nfCftbGOrsoByRL+zuBSq4KOL+okD VxoHbWE7Umd52/taOAoVppeIesNq2hXrA3a1Xi+oL7aoCoHVF0Hm6rd/rXXLWQ== X-Authentication-Results: outgoing_mbo_mout; dkim=none; spf=pass (outgoing_mbo_mout: domain of antonio@mandelbit.com designates 2001:67c:2050:b231:465::102 as permitted sender) smtp.mailfrom=antonio@mandelbit.com 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-User-Agent: Mozilla Thunderbird X-Cc: willemdebruijn.kernel@gmail.com, jasowangio@gmail.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org X-Organization: Mandelbit SRL X-In-Reply-To: <179357538131.3131.13550708149751579907@kernel.org> X-Rspamd-Queue-Id: 4jJm2t5Z29zLmGF