Article View: linux.kernel.netdev
Article #22940Re: [PATCH net-next] bonding: check XDP support before enslaving changes state
From: Hangbin Liu
Date: Thu, 26 Nov 2026 07:56
Date: Thu, 26 Nov 2026 07:56
36 lines
9669 bytes
9669 bytes
Hi, On Wed, Nov 25, 2026 at 02:12:00PM +0000, 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 (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). Thanks for the review. > > - [High] bonding: bond_xdp_xmit() checks ndo_xdp_xmit instead of > xdp_features Ack, I will check the xdp_feature instead, thanks! > - [Medium] This patch fixes a kernel oops that is self-contained and goes > back years, but it has no Fixes: tag and it is mixed in with changes… OK, I will split the patch and post the xdp_feature guard to net tree. > > Pre-existing issues: > - [High] This problem wasn't introduced by this patch, but the XDP > propagate failure it keeps on the late path can leave freed memory… This issue is working by Jiapeng in https://lore.kernel.org/netdev/20261124024319.52145-1-ljp1205831794@gmail.com/ --- pw-bot: cr
Technical Details
Message-ID:
<20261126075610.GA33976@Liu-laptop>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371926-linux-kernel-netdev=dewy.ruReferences:
<20261124-bond_xdp_fix-v1-1-e67983924324@kylinos.cn> <179561592046.3135.4020262152427481394@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371926-linux-kernel-netdev=dewy.ru From: hangbin.liu@linux.dev (Hangbin Liu) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next] bonding: check XDP support before enslaving changes state Date: Thu, 26 Nov 2026 15:56:10 +0800 Organization: Usenet Network Message-ID: <20261126075610.GA33976@Liu-laptop> References: <20261124-bond_xdp_fix-v1-1-e67983924324@kylinos.cn> <179561592046.3135.4020262152427481394@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="410486"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:Ju40JWcq8qOG4SJ9FlNecRaP5Zc= sha256:vXSByYDHYOxRSeN9wp4cTGwyCPPGRIyYVK0bGEbV0KE= sha1:WsDKqzl0KrXM6tb/t54Lu7yG32c= sha256:zlGNT85yMUhICkoFDI1iI7xnmgqu6uqacQVuDybk7aU= Content-Disposition: inline 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 50094125EB4; Thu, 26 Nov 2026 10:56:44 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.15 X-Spam-Status: No, score=-3.15 tagged_above=-9999 required=6.31 tests=[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 (1024-bit key) header.d=linux.dev 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 ZxqQefH5pdYb; Thu, 26 Nov 2026 10:56:36 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-371926-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=linux.dev X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id D4A34125EB3; Thu, 26 Nov 2026 10:56:26 +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 4C62630A12; Thu, 26 Nov 2026 07:56:24 +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=1795679781; b=OqnTcriY8cDo2BtnyXWijs6+flXFwc3hH7Dgfbbfw/pXvOrkqXmkcwjY5JmckbNcHC1f qXR6ZMjDXzwQyWKCTpbEOqroLIczOcC42gJxMxFJx0lfCWOYGw0yUP+0bmiM7N4bJIb68 wB/wr7LTpdjAqZ6U+kEkx7wYSFgPdzDviR8D/S8Vq/g6NFOBD5y6mIHm01QCIp/VIdk+v 8jJ19Ut1dfA+js7OTLyxsMkfJP/EmkVcO09aqrbtJ0s41S0V02igwMT0xu8Rglz4B7PQ1 d6AqQ/mqt7XTUbrJiZutZBzYmyCiE8cei3e2EqRbfDLouYiDTH5uNiXzRaB2QYOiNqw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795679781; h=X-Original-To:Received:DMARC-Filter:X-Envelope-To:DKIM-Signature: X-Envelope-To:Received:X-Mizu-Trace-ID:X-Migadu-Flow:Date:From:To:Cc: Subject:Message-ID:References:X-Mailing-List:List-Id:List-Post: List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence: MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=Zp7KR/TTaOmH56UgO4iVbM4KLisFeV6A9K8Gnq9SP2c=; b=N6iNmufw03WyffUGs2dAJouMSB6i+zS3N5iYw/kdKQe/ACcH8rdZIn2NQOUH2Rw+bjxG 8eqK/y5eH+zUsqz1lZwM6ToRK0NYEJ3kPyiUn2Z1nTSUsXG7MHy8rdtNwzzJUZjq5PErf B0OZdJUcCCZCJsledQwhdhirvot3/bmrOwdG8rJWatM8UMKeCwC8GDHdinNVQ00QCzsBv JEX/rIOb/3wvs9qDe+twcU4VFh4etLQKyMgfNyTV5+FTXbiHV0pIxW1vGQf3I2Z4S6vfj DrABG4MxOMeVNYkkAuaWLdzK5CyJtheKGfnVvwMOrD5KvhXX7l1wK6Dub0ZGkOnDrFA== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=wopqudTI; dmarc=pass header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; 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 C8A2B606A333; Thu, 26 Nov 2026 07:56:21 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=wopqudTI X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.218.175.13 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795679781; b=nzwUSiPc2P8QJ0GpYIej0ZQhs3NhyS+ESu+uUFpVk2DCyOitdwlEa6uuC3p7Y19wLqcJ knGgsSCGuqls2JRG6KrurfnFTkVlxbxktu/nxpfEG/Z/6M8JAv5kdbvW16h23dpk/qopz FQzdwJe3CyCtS4F2gIMbbXBPmWuTye82vC5OXvMah5P77Jl5OGKOY5VK29AUxqDDXIuP5 dEh6ztFwPZBfwlpT7cPawNGSHDd2ijN2XuNL+WmhbUQlILg0lYEbd4nqckALGr+y9qlnM U79FzoOEF6pvY8A6A2nSnm/nGadi3hQA6mNdXnahHwGf4Rxph0rh19MgaAaCE6Fu5Ew== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795679781; h=DMARC-Filter:X-Envelope-To:DKIM-Signature:X-Envelope-To:Received: X-Mizu-Trace-ID:X-Migadu-Flow:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=Zp7KR/TTaOmH56UgO4iVbM4KLisFeV6A9K8Gnq9SP2c=; b=CwKH6HcqXhfjmDlIF+n3F47a0lwA008U/ynPkmtU536t1bJ4wuLkt2fcQO77klbuAflu yzBT1NoUUwDUuV7JckYGe7sl4OpCYb/Gg0ewxI5+THKGcd+i/3+f6fcOB+2qNM6nS52VJ TLLtIb07k/JvprUyrgk3sdLhsjIQw2rkGd2QSgxTQgYU11Ttenhz3Ke9f+7Yjz5mfoFCM l6fhIkeA9V2iEXJFTb8+sFLa3S2PUJKC0JZQp+mtH/H62ML8j5tYz/20m+ecxSl10tl0v 7oJNNfE2Ea9EML7SezHMGI+8Wx6u+SHrUtkPKFYXXaon8djomKeLHCFyZL2OurZD8Og== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=wopqudTI; arc=none smtp.remote-ip=91.218.175.13 X-Received: from mta0.migadu.com (out-13.mta0.migadu.com [91.218.175.13]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 37D52606A323 for <netdev@vger.kernel.org>; Thu, 26 Nov 2026 07:56:19 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 37D52606A323 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Envelope-To: netdev@vger.kernel.org X-DKIM-Signature: a=rsa-sha256; bh=hc7O1kDVjwwjdvW8dTk23z2Y41qPruXloCw6mIwLNgg=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1795679777; v=1; x=1796284577; b=wopqudTI+GYAMTvbtvkHUvwJgyGDz440Xkvxa9G/BUX9txNM7C6aTMqZti2yNeiMB1x4ADGu k/svzrkGTP1csJ/brMPx9c3qE6IblIU1TNGnoqKXxVYuP2YccYO60nppwztoSxSEgXpD9DK2ZcZ fg5uNUF8MtHUClaKEWqT/bNU= X-Envelope-To: netdev@vger.kernel.org X-Received: by mta10.migadu.com with ESMTPS id 0c367e1d0eed308f; Thu, 26 Nov 2026 07:56:17 +0000 X-Mizu-Trace-ID: 0c367e1d0eed308f X-Migadu-Flow: FLOW_OUT X-Cc: jv@jvosburgh.net, 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, linux-kernel@vger.kernel.org, bpf@vger.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-In-Reply-To: <179561592046.3135.4020262152427481394@kernel.org>