🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #17450

Re: [PATCH net-next 1/3] tun: don't probe the transport header of packets written by userspace

#17450
From: Antonio Quartulli
Date: Mon, 16 Nov 2026 20:40
33 lines
10316 bytes
Hi,

On 16/11/2026 16:25, netdev-bot+sashiko@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 3 potential
> issue(s) to consider.
> 
> Critical: 0 · High: 0 · Medium: 2 · Low: 1
> 
> 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).
> 
> - [Medium] After the patch, a TAP packet that is neither GSO nor
>    VIRTIO_NET_HDR_F_NEEDS_CSUM leaves tun_get_user() with…
> - [Medium] On the default tun/tap receive path (no IFF_NAPI, so no GRO;
>    delivery through tun_rx_batched()/netif_rx()), skb->transport_header…

Both medium findings are valid.
I'll respin.

pw-bot: cr



-- 
Antonio Quartulli

CEO and Co-Founder
Mandelbit Srl
https://www.mandelbit.com
Technical Details
Message-ID: <8205fa5f-a568-4b86-9276-ccd3ac78c4ad@mandelbit.com>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364704-linux-kernel-netdev=dewy.ru
References: <20261112150612.3866546-2-antonio@mandelbit.com> <179484274982.3136.10527408814471189308@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364704-linux-kernel-netdev=dewy.ru
From: antonio@mandelbit.com (Antonio Quartulli)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 1/3] tun: don't probe the transport header of
 packets written by userspace
Date: Mon, 16 Nov 2026 21:40:12 +0100
Organization: Usenet Network
Message-ID: <8205fa5f-a568-4b86-9276-ccd3ac78c4ad@mandelbit.com>
References: <20261112150612.3866546-2-antonio@mandelbit.com>
 <179484274982.3136.10527408814471189308@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="2164309"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:PIh79AHUB9VXtxP79SCn25JV2FE= sha256:cSyJr/XLh/mzV1FdbQ6mh4lutVWhpl7LxgSg2yaLmls=
	sha1:6dJuzu7kzXSRwLwxzCFbhLpqgpQ= sha256:iuS4mod4uzjcy3SMc2CZsvhLROC8rcOV5hYYHuNtgXg=
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 C5B72114D6D; Mon, 16 Nov 2026 23:40:41 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 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, URIBL_BLOCKED=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 aSXSF3hCX2Gx;
	Mon, 16 Nov 2026 23:40:37 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-364704-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 4C7F7114D52; Mon, 16 Nov 2026 23:40:29 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 3CB4C2A43D; Mon, 16 Nov 2026 20:40:28 +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=1794861627;
	b=c2cA+HryXUTKckQP62Qd8KQHdgWN4g4EHLVrmd1++/8zEM2DS4kbUKaAHbyUbUptXBkA
	 hbe+r2G27H0xAxWFA4FxtMAl9PtivmUJgV/wpDVYCUBJMab/xiiFCqDMZ7R4Iof1Ln+44
	 JhLEj5rMQKZUZhliUZJikA+wjVqiWBm2wF100DQEeAaPATMrtuSkPLv3FXzh39jtjrgRN
	 h2sZWlm9E/vuWyas/T/ulEJOqvU+NhHlZJ1D8k9OuZq9sFtZi1DMr7SpZ3QjTPlz4FZAS
	 SAStKSuhuRe7qT/IsMRk0FTZcAD3lSwkGvMZ3NwlWG2tWEo1uZzvzUPEML6jGfYkoLQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794861627;
	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=ksCPXSLdhTTneD4W2NgdphG6m6xwf/GqUZXi4NHFihM=;
	b=BGjlfsvEy5VhHuAppYAit2CSxqVUE5mm8W1NnjgeIXxZ5vVuZuXrWUtP/7D0G/8rOqn9
	 zlG/gMAhGxUfzjBkDm0cdr7i+aVahGX/6oFFRWA+enlcyVYjJa/bVlVrA6QRV5lnoX8j2
	 mDE4WgyKE+Ez3nxuM7ChHSPkembvPQsSNVADOE43rY/7Af6yy21Vo8BxkmrV3j/lEcOvz
	 svOjivuBHmUmRwfBWGdIq6GxcIsVTW4amPQ6QqaJKAVGlBdXt52OhHcsH7fsDhYs1bRKm
	 mijTkniyUwF4cjhFRBO3foidY0sFb13NIOyKFa/8qiFWmr+APFSsRpO1tgHaXCU6ZlQ==
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=HcOWLbsR;
	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 9EEF2606A334;
	Mon, 16 Nov 2026 20:40:27 +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=HcOWLbsR
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=195.10.208.47
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794861626;
	b=EbVBx2BgWbzwe5RkO0UPJcEE7jJhV1ee+AlsaValMaxTYM01XNaS7aO+6Bcfaoq7wf3N
	 tmluzjOLzHTlteTv+geQ5tD0rO3Gcwz17+D0RNc3G70nyXFOGiA5Wvqiy1juKRPtsX8km
	 k2Xi8j0Pq2UdbQBzb/WbnKuI31Sc4rpfJc/U4EnSa3RJhZ8L0L0cj+g0pJenMScRwlGU3
	 9L+azJPNlrST8VEF6NA/xshjY7kG5sQj2m0+6pElcMOUwVLE+LFNNrhtQnzbgcNaK8cHo
	 TkOGs/+lV0b0z57Ycrues1I+irFf2QLxULmL4uX2VNXnEq8cEdqoa2sZlcvb2yvPTeA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794861626;
	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=ksCPXSLdhTTneD4W2NgdphG6m6xwf/GqUZXi4NHFihM=;
	b=wpD3CIeyGhqiHZ3I9BtKfH7D0HXReViwhDha4dNxL1AmLBAwndjYZixXHiBNeDeSlef3
	 1ul4MIuFIjzWX7OBPoSaa9qpguPUH2+vJor7ZcWHxk+WXqtTSu+pxKBo7qun7HVtMwpvw
	 L9aB6hjQssTFJOkwRWpkX1nhvO5MFGrYA+1BOzEijg+UA5KwOiju1joiOJQ08ot96mV4+
	 eon/Amir2X+Fe8H8aojxc2RTN4RD9lzn0GbmfVM7LYYTgC1vKga0mV+jAGz8obBpRZwPw
	 7HguLmHh6LhefX6Uu56ifkG4bNAHlrOF5ZClL9Ufalzlr0ffOqfjsUiERQoVZDeRCTw==
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=HcOWLbsR;
	arc=none smtp.remote-ip=195.10.208.47
X-Received: from mout-b-107.mailbox.org (mout-b-107.mailbox.org [195.10.208.47])
	(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 CBCD0606A31C;
	Mon, 16 Nov 2026 20:40:25 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org CBCD0606A31C
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 smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519MLKEM768 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by mout-b-107.mailbox.org (Postfix) with ESMTPS id 4jT09W18PJz3y1m;
	Mon, 16 Nov 2026 21:40:15 +0100 (CET)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandelbit.com;
	s=MBO0001; t=1794861615;
	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=ksCPXSLdhTTneD4W2NgdphG6m6xwf/GqUZXi4NHFihM=;
	b=HcOWLbsRC4wdULsQRDXnioLbhKniRsXzYUB6ztgT8lcKOKeBTyPE5eriNnBuMspXKXhktk
	s08oPImuCqeRqR4uvmIY1inshCWX+F5gbdPKaQ+DSHQE+mA00g8dTSKJ/iRv4T0a5nk5PI
	L3SvKOTG0w/0n3PcyMdmdfoEu3efgS4PpI3KcW3PbB9lIvO+hEIO5/Uz8raJz45CNT2ZmQ
	dRBurb3fAQUkdIMkXFURABqRGWoZD23Tyo/3ORwogCZ6RdsUP1JDiveT3EogjoE3qY4lhe
	a9ZYhPx7bNsspG6x5QioPX/NVogh/d7q61hmsJ28583qJiTFBgjVyh9ICABhFA==
X-Authentication-Results: outgoing_mbo_mout;
	dkim=none;
	spf=pass (outgoing_mbo_mout: domain of antonio@mandelbit.com designates 2001:67c:2050:b231:465::1 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, ast@kernel.org, daniel@iogearbox.net,
 hawk@kernel.org, john.fastabend@gmail.com, sdf@fomichev.me,
 netdev@vger.kernel.org, bpf@vger.kernel.org
X-Organization: Mandelbit SRL
X-In-Reply-To: <179484274982.3136.10527408814471189308@kernel.org>
X-Rspamd-Queue-Id: 4jT09W18PJz3y1m