Article View: linux.kernel.netdev
Article #27451Re: [PATCH net-next v2] eth: fbnic: Support XDP redirect
From: Björn Töpel
Date: Sat, 05 Dec 2026 17:27
Date: Sat, 05 Dec 2026 17:27
16 lines
8507 bytes
8507 bytes
netdev-bot+sashiko@kernel.org writes: > [Severity: High] > Can multi-buffer frames redirected from fbnic end up as skbs whose > truesize is much smaller than the memory they hold? Good catch, but the fix belongs in the XDP core. fbnic already records the fragment allocation sizes; it's the frame-to-skb conversion that ignores them. I'll keep fbnic v2 unchanged and send a separate core fix once it lands. That will fix the same accounting issue for ice and idpf too. Björn
Technical Details
Message-ID:
<87h5grzlhr.fsf@all.your.base.are.belong.to.us>Path:
mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-378075-linux-kernel-netdev=dewy.ruReferences:
<20261203180924.3862144-1-bjorn@kernel.org> <179640788740.3146.6062961675841789495@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-378075-linux-kernel-netdev=dewy.ru From: bjorn@kernel.org (Björn Töpel) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v2] eth: fbnic: Support XDP redirect Date: Sat, 05 Dec 2026 18:27:12 +0100 Organization: Usenet Network Message-ID: <87h5grzlhr.fsf@all.your.base.are.belong.to.us> References: <20261203180924.3862144-1-bjorn@kernel.org> <179640788740.3146.6062961675841789495@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: usenet.network; logging-data="3079478"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:0Xx2aq3rs1RygbeShQZMw5H1eeU= sha256:7IdC2l6dN0PKzdbXveBr/XXK7N+j5zc0UdLyrp4O+SY= sha1:mr6mDIpYAfnW1m10fvmb3xxUbXI= sha256:8TKwEm/v6Q0AnZvDfbG5RBUpqYzjmpoQ8l/BRvSx7U0= 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 1E25A117E78; Sat, 5 Dec 2026 20:27:35 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.54 X-Spam-Status: No, score=-3.54 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.14, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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=kernel.org 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 4b5O71xnetG8; Sat, 5 Dec 2026 20:27:32 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-378075-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 3074D117E73; Sat, 5 Dec 2026 20:27:24 +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 452612A4D5; Sat, 5 Dec 2026 17:27:22 +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=1796491642; b=cktzEyd467F7gpk4vPV/OXb6gFd6A9ElH2thS8K3eFD2XLHRMb8v0zKLAFl/b28EDihk XSRxlDoGudWyUbZjbJYVCCEi4Bg3AG7oI+395RVRW8BEgO0QOCMjL6oNYEW7VmCBj54Qx jg1TaiHBp2iPV+sUJJNGf4dW7qR70WqyFplt1FDNo37aNP4QhwJolZrqSTbT+AEq9EpOP Sf2R6u4asPhq7CA/lykHWg5GjG0b6LAnggfXil1M04+onc1epXWy8xGGNIiUsiJF4JV6v lnvfMR8iBl2uPW9zGedE2UzPp5t9EkDt8JcXoFio4o99+6Av4UYHc3Af57ChgjcmXTw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796491642; h=X-Original-To:Received:Received:DKIM-Signature:From:To:Cc:Subject: In-Reply-To:References:Date:Message-ID:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=Cgp/w7xfWgjOFycddAd/M9u8fX9Q4mN3xugGN5oRRBo=; b=sAvEgW9hly3u3GMrjfcn34UEf0borIIOJcNiryUcSBALAdKfyTklTbOkYtVb8ge2H4gH Wj6ZWelRzKSLxQ0C+m2h05k+vjyLGyGECMLSPNoeT5mhXw/UPuE3AegO9yB4IqSTMMzoD Z/xLb8xkbVRDkBRfPRiPucahqP11Xx0hQMj45cQz9/RtLHhuQaYfkQgehRR6tIO63dk9P xVRiLxq4mNNJk3YWwGUz0o1sERHaX1RjcasPrxxUTLEaxhRF7IBOYD0hyJeEdDW5QfgbH RbXf7Tqb14p7KYxQuzqipyu9UpIHf80mWvsXAYvA4+k2vnz9cQHoMyti7aLYZwob6wA== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=cYz9qcfM; 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 1DF6D606A334; Sat, 5 Dec 2026 17:27:22 +0000 (UTC) X-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=cYz9qcfM X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796491636; b=gl6adL10GA+I3CQ2KWx7OpP0K/Ds+KFSbc6kOkFlNYtKMt1LF11HFVGrA+DfvvD5/l14 aiKwqY2X5cs2ICigZRQfDZ3CAiNxzrkvez0089iqeacWEj22kwIPaASA3wuR6ebhIHBKp Su9lEnGVEvq5a4WbZDLtRuGuKcc3IaBDqCSI+HHAX4Ff2MvQBN9pDdCZsb7fOi8zSTdM8 UuuYIUvJiBY3FnYznRFdH97jWXh+n/1j/8AllA/R43QAlwb1nDULr1jyBzSS9ZAZRJoRs zg93IT0TLzPS7rKGPncpfiiOmzWkEwuVgkVVAi1FniIqSJwoY6gTQgNMMEjw+Yqj3Tw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796491636; h=Received:DKIM-Signature:From:To:Cc:Subject:In-Reply-To:References: Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=Cgp/w7xfWgjOFycddAd/M9u8fX9Q4mN3xugGN5oRRBo=; b=o3js9riTvOiVrBdLDYOA7E0jzEMplg0RLSSWi2T5KxVCKkL2Y/PyppGW02gZHicWg66N BW9GIK/mNU6Z4/NIge65bhUeu7sJqH4vLMGdrqRcjHbfWDQ6SGyKkK/fye8tMoxrTicEN ekNnLaL/WdSzuaVbAhfJKdwlxaLcwnlwCZvP2+lIDwELAXOO9p6QV34wsLXspITHVQqdj l9qdUGSqbFuWihM4H+8Es6sUvCAwK/wlcxsuJXw45h1sTcvymPlfaE3xr6HW+RvhDKK10 6cE8MO7csguajrWmej0L8GEgLgnhejLQeUq5x7Cd8FeL7WkP2wab5gGvssLweHlAWvw== X-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=cYz9qcfM; arc=none smtp.remote-ip=100.103.45.18 X-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 3B62E606A31F; Sat, 5 Dec 2026 17:27:15 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 52F5D1F00936; Sat, 5 Dec 2026 17:27:15 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796491635; bh=Cgp/w7xfWgjOFycddAd/M9u8fX9Q4mN3xugGN5oRRBo=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=cYz9qcfMGflE2oxjCWEV98cBt2/8DG+LQ3CQfFBs91GxOqxePUqA93ZxKHsEosIyw uUxZj5syvHmIEkLo3thLvjOvEp7oDzWGelbBnlFab/UPiAg/CoMLYd9APdt+pp2kYp sDiJ83WpXkErME0nD5FJO2prml2JEFA+rTTjUWvBjzdpxgnJjfI5+0jdMqpjxs1EGJ KYZYw0eNUbCpr2sn4AANc3zwjPDSFyQAHYn0JZiuggsYeqg4IUHu2d5f5477Q3Efi2 pMAfGje8Ur2CAA6TNaTkOdVd5jr18ETi6vMQ0EVhIwHiB7bhXj7qI3XwVtp3zVInpE KYgswzeZbXH4g== X-Cc: alexanderduyck@fb.com, kuba@kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, pabeni@redhat.com, ast@kernel.org, daniel@iogearbox.net, hawk@kernel.org, john.fastabend@gmail.com, willemb@google.com, netdev@vger.kernel.org, bpf@vger.kernel.org, kernel-team@meta.com, sdf@fomichev.me, horms@kernel.org, dimitri.daskalakis1@gmail.com, bobbyeshleman@meta.com, daniel.zahka@gmail.com, mike.marciniszyn@gmail.com, hmohsin@meta.com, leitao@debian.org X-In-Reply-To: <179640788740.3146.6062961675841789495@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