Article View: linux.kernel.netdev
Article #14335Re: [PATCH iproute2 v2 1/2] ip route: use the request size as the limit when adding encap
From: patchwork-bot+netdevbpf
Date: Wed, 11 Nov 2026 00:10
Date: Wed, 11 Nov 2026 00:10
28 lines
8979 bytes
8979 bytes
Hello:
This series was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@networkplumber.org>:
On Mon, 9 Nov 2026 13:32:08 +0800 you wrote:
> iproute_modify() passes a hardcoded 1024 as the size limit to
> addraw_l() when it adds the encap attribute. The request buffer is
> larger than that, and every other attribute in this function is bounded
> by sizeof(req). With a seg6 encap of 60 segments the request still fits
> in the buffer, but addraw_l() prints "addraw_l ERROR: message exceeded
> bound of 1024" and returns -1. The return value is ignored, so ip sends
> the request without the encap attribute and exits with status 0, and a
> route without encap is installed silently.
>
> [...]
Here is the summary with links:
- [iproute2,v2,1/2] ip route: use the request size as the limit when adding encap
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=c4a39013ba80
- [iproute2,v2,2/2] ip nexthop: use the request size as the limit when adding encap
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=1d64d3416d60
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179435580642.128546.15113726545917485391.git-patchwork-notify@kernel.org>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-360758-linux-kernel-netdev=dewy.ruReferences:
<20261109053209.65753-1-kaquoin@163.com>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-360758-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH iproute2 v2 1/2] ip route: use the request size as the limit when adding encap Date: Wed, 11 Nov 2026 00:10:06 +0000 Organization: Usenet Network Message-ID: <179435580642.128546.15113726545917485391.git-patchwork-notify@kernel.org> References: <20261109053209.65753-1-kaquoin@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="736729"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:I1HnD9mWuPUxx818iekk/d3wnyk= sha256:M9wkbhtNYRh8Bo128Am8/4ihR7OYNLcZAw1L2pU/TPw= sha1:qrup9ZRYhCz6gqKxZ4E9jRbANWI= sha256:69HyLP9RNftUGnJKN4iteK0iXO2i4WtpePICF6N9dl0= 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 947F9113DE0; Wed, 11 Nov 2026 03:12:16 +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 yXFJf79A8aSi; Wed, 11 Nov 2026 03:12:12 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-360758-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id 02D75113DDC; Wed, 11 Nov 2026 03:12:02 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id 5CC282B7CE; Wed, 11 Nov 2026 00:10:12 +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=1794355809; b=VnNudX1MqtXpHZfHQBmrW7qzUOWcJyQAAU5zuOI1PTsYzt4+ZZ/Repmo81cBSPYomszB jAmcseGOj5hHIRZoP/E621zPdLIBehDX27VRl84kKfvC+QUmMiYqGtej8zkLojDsaYDF1 YucjJ9vdQewDz2NhHm3ralxO1Ry6qJta96EdTf2AYWf2AMcJB7JUWgjBSs3Gu5Gcq/G36 0O8EHN6RPLPKsXqQS4MUtSBbQVFg+tEPKC1Btz8EVDtdosp2cktVH2Tyd2E0eeGmkSfdB UCZAmvU8G8iM8KEXnG3K6A0NHiYD89ct1r4uPzG0FkPmAn7jxPIOt2Hinc2NTdvlZbA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794355809; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=JipW3Ceb+7NCtvWMNFO/Z77o0FixeUdRl+2wilinppU=; b=aYuGQ4hJVio5X2GWqcB4Tz7yWCdn/uj66Q7KcuV5BpkP7rbF9YMVcdYs1maLkpNaVm2L zOvUYwrt0qUM5mTkvEblqI0wZHQdQuCOe8+VgRTcL21A0phQ5n4J0LPgAYlm5pPTzQ03h aDA5wERwcf8XCiqYEQQ+bF1u9isis4bjjqkPaKcyDbqzrb1Kadl6Fjr+rGUnbuWxz/wug j4bb5mfS3ElQq9nUUzA2BiZ/lnlmC2Yw5Xuj40nKqDM6shqZ6tFQCxZXxyLwH3aR18ppX t+bLSb8iD0+TXEaDLZN39XK+v2Oj07QyUqlkHxAmKNL5iy38v03wXjW85xNTsRGvC4g== 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=cExn50c4; 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 33948606A336; Wed, 11 Nov 2026 00:10:09 +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=cExn50c4 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=1794355808; b=VjMdnAFSqomxQIVKAJlL3Wq4IxA7+31uaWvetDr6zE2zkTlouYA+S98w3w+V/hsp9apg zxVeJR/4afcnzMYAHe6ygY0dxrYXHEAV3lfP7gLvQFk+IkG3nryNYSTYn484NqvPi0cBA 1p5jM0z7lhiVbEbfXFrK4dLnjGot0As2R80EVUv6SWW/NrrnWl/kpJmUYU15AyRCkKRAV ujFVLC7060dxNZgxctAvQ/kNDT7Ucyq4bFn7jWnXsUvrQMj4uvZhN8utP5bDbi0XGAtKL WV75IT7YMDdjOA6g/B4fpbvjlrUkssgOP+zRltRVEs32Idm9piZ7RdHJ7koeWRmF+Ow== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794355808; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=JipW3Ceb+7NCtvWMNFO/Z77o0FixeUdRl+2wilinppU=; b=shKbVRatVwrGQcQVRsEfKQ8tsf3Qn5jfTTFVfnynvozXBzy0gw9Usp5X2lOUUK3fA+i6 h4m0AOCeOui+87lQBDlHZ19D+oTfTMnqE9/yyrx4bLRIrDG33qCrj9ynZUjZMUdg7wUAn v1m4vvi1Mn0jFNAUuOenqQpXnSjHlqIkR1KFZ61mPk9zbrwF0Ql2eqgVjUOPe94CSwxP0 HNIYUk9c3lGk0k4h7l9o2mPXh6zvEODQtOdDmf4xZdeqRWG6SXDgTkUBG8pLYKjetgEvu GobGZBSLGJxLZI2NRwMWf+RPQv7Kw3N+d8k6yDw4ENxCSujVy9uYsUNBadLKA+LtIlw== 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=cExn50c4; 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 53746606A332 for <netdev@vger.kernel.org>; Wed, 11 Nov 2026 00:10:08 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id E35991F0093C; Wed, 11 Nov 2026 00:10:07 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794355807; bh=JipW3Ceb+7NCtvWMNFO/Z77o0FixeUdRl+2wilinppU=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=cExn50c4y6Hcw0nVNUOlguKI1Yx0OG4IWVAB3z9UpJk57yMa8KZPc3VvPxIO3dzds 0mv8kBYbkZEBb3dZb6DrgNxfC7kz214SYSgXUrcN8B60/7kTrZqV/wQSXVfD68cVrR rGM+nBwj3vNdLDSkbvq3DGuTQepS0MNDfAiSYNMkY+ZMruadMxNwsLnjkqREcDEx8C kIodPrw70d2YnG/NuuJQIatT4rfUTkML4qyztbgOWMjGWaPtd6xYhL+OGF+AJTZk2G cSZJRqGjRkN9ygpk3YXk7/rglcRNEgEWLvgaS/cUURLwyBm+R9tLo39AyCjWFMFsdO XnnfehHafdbpA== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id D82D339E8A4C; Wed, 11 Nov 2026 00:10:07 +0000 (UTC) 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: <20261109053209.65753-1-kaquoin@163.com> X-Cc: stephen@networkplumber.org, netdev@vger.kernel.org