🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #13280

Re: [PATCH net v3 3/4] net/sched: sch_teql: reject qdiscs from another network namespace

#13280
From: Simon Horman
Date: Mon, 09 Nov 2026 16:20
32 lines
9423 bytes
On Sat, Nov 07, 2026 at 05:13:10PM -0500, Jamal Hadi Salim wrote:
> On Sat, Nov 7, 2026 at 9:50 AM <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: 1 · Low: 2
> >
> > 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] The fix checks that the slave device and the master are in the
> >   same network namespace only once, in teql_qdisc_init()…
> > - [Low] The commit message says only that a qdisc from another netns
> >   could attach to the init-net master "and change its MTU and flags".
> > - [Low] Moving skb_queue_head_init(&q->q) to the top of teql_qdisc_init()
> >   (sch_teql.c:203) is presented as groundwork for the new netns failure…
> >
> 
> Again, cosmetics i will fix if i have to resend.
> The netns_immutable gap is pre-existing and needs CAP_NET_ADMIN in
> init_net, so it stays the net-next follow-up.
> The reorder keeps this patch's Fixes: because the namespace refusal is
> itself reachable through qdisc_create_dflt() -> qdisc_reset() ->
> teql_reset(), and if i have to resend then I will state the
> interception impact in the body...

Reviewed-by: Simon Horman <horms@kernel.org>
Technical Details
Message-ID: <20261109162056.GO18859@horms.kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359413-linux-kernel-netdev=dewy.ru
References: <SER-NSBD.v3.r0.20261103064310-3@mojatatu.com> <179406301946.994134.7212801896124135602@kernel.org> <CAM0EoMmZ6msUa_HDx5511GYPpKiaWFw+G9OAJFB61hGvVm1D3A@mail.gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359413-linux-kernel-netdev=dewy.ru
From: horms@kernel.org (Simon Horman)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v3 3/4] net/sched: sch_teql: reject qdiscs from another network namespace
Date: Mon, 9 Nov 2026 16:20:56 +0000
Organization: Usenet Network
Message-ID: <20261109162056.GO18859@horms.kernel.org>
References: <SER-NSBD.v3.r0.20261103064310-3@mojatatu.com> <179406301946.994134.7212801896124135602@kernel.org> <CAM0EoMmZ6msUa_HDx5511GYPpKiaWFw+G9OAJFB61hGvVm1D3A@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network; logging-data="398631"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:0AxZkwlzW7wfLMCXiCYpmb51x/Q= sha256:tzBLyHPoKI2Y5EfaxyNYPQyiBhMQrfL/6QI3cTRxm/I= sha1:4nNyUXafoPCow3eKSE8INLNv2Do= sha256:iXiX4PGq7jtoi4yM7VOiVkKReTkiEKfyRWL8jr1+joE=
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 63A5611386E; Mon,  9 Nov 2026 19:27:19 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, 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 mxI6MQ2TCBAR; Mon,  9 Nov 2026 19:27:16 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-359413-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 AC4CB11386B; Mon,  9 Nov 2026 19:27:07 +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 D5482E5B23; Mon,  9 Nov 2026 16:21:07 +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=1794241267; b=aFLjqzHWah/Ji5JkMv5ez+uJf8psMG+UsCaYbuN11ZzaXmY+YTi/GPIJTtQHVku8E1/C BfnrkdoVwrbARjDRItkD0k6felBPTQ8yO02Nbuh/AxOg6ApeCCJI4qV9Lt/id2/vx5TNn kC5Xf4R6GRr9qz0ZsamNr6z0wTCiyRdyvWUqjtrMlH7QQNZNcer375jt7BZGxcb7tg+rC BHiROw1lvnmo4X017DQ1ge1yxijZqlWKqSLQ3UB3UDh7J7bn8qBJcSWkgYL5aIF8H2ang 6aubTWsoXriZE2zJtnwFy+T/6cElCWOrPA5ioku2UIjVQnN2ecE9yGAqxkeqo6yuxww==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794241267; h=X-Original-To:Received:Received:DKIM-Signature: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=TEnvEAcokuLSsHN0hVns+uM/UQP9Fe9jjYNoxn21KTE=; b=OhzFIyjEznnjo2KiwWe2zeC+LDa9BhYlHVyqFMopETW/sqaYox8ZF/EotpOuVDtUV6wh 6VS9amK7cqeiEqRcXn9P2Adatzs62Cok5iHJ6fHlc/GvIPh9ZMMT4CmgE/S50liLW1Jg/ BsLjsE/xvf3WYia4b7qaM98D4qAuZskx6N/y1t01ibhOwHSzu31wFkHTj2Ww6PZeMa32r 98ua2R+njf5MoYN3iSEcIPgXQCOswYAK56+kUhER481jeKqBAc39RcXAwLWvrTWnP0Lfr +BreGdgrAAv/w51JkRGSlweRblSDl/S/neI8xFgetCpJOZkYM2b2ldmv7iWn+XeaZag==
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=Lvm4tLdA; 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 15832606A334; Mon,  9 Nov 2026 16:21:07 +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=Lvm4tLdA
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=1794241261; b=s/7OE4ipsEOx1cewNzYI04O+mGI7Ez0BHUl4lVCc2H14mSFuQ+4TMCzmeac9crBR+aEe BSEXyz9i6LBXTPHT3WGmEqoSHE7oEeOST50YMS5oTskH+qB7YdfMQaz5DEBQxwtLFla40 q01l+G5oyDfTUkGKH7w5d3CRpc2nq0Go98IFSZR3tDC7fYwgZZwF4s055z9kbPUjlzaxg 1L7domxFBpBeO8QSb8qbtHsTVX+QuVbLGru4BBvm7rGd9FTm3kgne8Kp6tW/BB4qYFAfG t4jBnAlLzqjeEBxbiHeawxBMHW2GkWmgg6LmsTpRZiaUl/QF2paRF2dpYRQJYwa1JEQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794241261; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=TEnvEAcokuLSsHN0hVns+uM/UQP9Fe9jjYNoxn21KTE=; b=c5aJ/eYjAC/xfB+SJG8F49bTEm4LYCHF9OX1dsAloQlSZ9QUAM6D4C/tN3+HO08gzK2V yazTpk8X4lj0t+wFM3I/vC7zVVltdPWXdBGBIcuA1Ba98nNagEiRsOgA9tKbh0nZ3CN9T Spcle7wT4qRlGYL09fVNYjkledLicdvrXVAyIrwdWwNqwNXk7GfQ0vNHGVdKRTzMEbanL yN8mGAtDa0ZGA3O4+VStoqTEV3aSdswMh+0OBRK5QqLtdXFzfQaBcW9RJyhN0qkKNbrvs aAMXvRs6LnBMQ/TIvF21eWenB/81+lLeXY8mUz/28PA09R2YLPjhCvOImW3IqOMZ8hA==
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=Lvm4tLdA; 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 ED36F606A33A; Mon,  9 Nov 2026 16:21:00 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 656811F0089F; Mon,  9 Nov 2026 16:20:58 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794241260; bh=TEnvEAcokuLSsHN0hVns+uM/UQP9Fe9jjYNoxn21KTE=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Lvm4tLdAw3nEtB3OjVEzOvRpF21rcHkBO0tZkdgerzpvPIDlZQvB0i1wpqcg6/8eV m1adc1CwBrlSAuyc/7VAelRwTzz3IObXqMfuHMnyPq1cvJo8l9ut4OFcNVXh9PVAmD kzbsVW+1+XcdB2kmnZokDPBCpcO9dN85mw4cszqrHJHbpLQFug0ChrT4ajMLzyfUL9 KcA5fKHNUtVDKFEfHShGUm4Ih5hzR13e05lgK/Jv6daOipKpK0TgRCpVRrTHlQl/Tt i1h2qOBgiPXdosEuBCikSThFTaQq3w1EiGKaxPcTMhthOqxNRIgHIn9c2MlCdQgGBJ v1QpKkJOtNpbw==
X-Cc: netdev-bot+sashiko@kernel.org, netdev@vger.kernel.org, stable@vger.kernel.org, shawnq1@163.com, davem@davemloft.net, edumazet@kernel.org, jiri@resnulli.us, kuba@kernel.org, pabeni@redhat.com, victor@mojatatu.com, thomas.goff@boeing.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-In-Reply-To: <CAM0EoMmZ6msUa_HDx5511GYPpKiaWFw+G9OAJFB61hGvVm1D3A@mail.gmail.com>