Article View: linux.kernel.netdev
Article #18375[PATCH net 0/2] ipv4: allow route dump replay with nexthop IDs
From: Yuen Su
Date: Wed, 18 Nov 2026 08:45
Date: Wed, 18 Nov 2026 08:45
33 lines
11826 bytes
11826 bytes
IPv4 route flush fails when a route dump includes both a nexthop ID and its expanded compatibility attributes. This series fixes the IPv4 kernel delete path so that existing iproute2 can reuse the dump. If a delete supplies RTA_NH_ID, the ID determines the nexthop match. The first patch limits the mutual exclusion check to operations other than deletion. The second adds a regression case to the existing IPv4 compatibility test. The route type and IPv6 changes discussed in the earlier iproute2 thread are outside this series. In QEMU/KVM, with the same unmodified iproute2, the new flush and route removal checks failed on the base kernel and passed with the fix. The three selected kselftests passed all 36 checks with the fix. Codex helped extract the IPv4 kernel fix from the earlier iproute2 investigation, add the test and run the baseline and patched guests. Earlier iproute2 discussion https://lists.openwall.net/netdev/2026/10/26/186 Yuen Yuen Su (2): ipv4: accept nexthop dump attributes in route deletes selftests: net: test flushing IPv4 nexthop routes in compat mode net/ipv4/fib_frontend.c | 5 ++++- tools/testing/selftests/net/fib_nexthops.sh | 7 +++++++ 2 files changed, 11 insertions(+), 1 deletion(-) base-commit: 2a324a58a084c5cfd7e5a2f55e0786bee170a4a5
Technical Details
Message-ID:
<20261118084510.332821-1-zypulsecore@gmail.com>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.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!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365958-linux-kernel-netdev=dewy.ruShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.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!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365958-linux-kernel-netdev=dewy.ru From: zypulsecore@gmail.com (Yuen Su) Newsgroups: linux.kernel.netdev Subject: [PATCH net 0/2] ipv4: allow route dump replay with nexthop IDs Date: Wed, 18 Nov 2026 16:45:08 +0800 Organization: Usenet Network Message-ID: <20261118084510.332821-1-zypulsecore@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2544803"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:eqAKDm5V/Aj+yO6foOkNB0lawQg= sha256:vp5yunKE6sdJ2VSvFbkDnI5LjX5q9CSg+CsMRKtE2Is= sha1:HNXLHmidiwUJAuQu57e3GzeX6XY= sha256:dAVLFim2KdoGvqIPXXnx4cpcn/thmRaI9FKD6WgLuqU= 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 E69FF1151FB; Wed, 18 Nov 2026 11:46:28 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.049 X-Spam-Status: No, score=-3.049 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, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, 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] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 uMjkbpSjSjRW; Wed, 18 Nov 2026 11:46:25 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-365958-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id E842E114F03; Wed, 18 Nov 2026 11:46:15 +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 4E59136DA7; Wed, 18 Nov 2026 08:46:10 +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=1794991568; b=XnY4llLsOBXu+VGqAmtbR1PQfKvUHiNSBgl8IwYquecJhRnLHBWIV1cS6erA83rrG6pp fStj2IggFznp2mohNXuQ968lwHBvKxbZodnyRDsYut16+wIdkv2GGHk77ynFNkXIPX+Dn 1KNnk6tTwLoLHNZCa/OyXDmTLroV5EhwhnFSBDdDqYy1I0Djh6vKtNqPq/t1SJh0HbxVK SLGmmLgNd166kCGwIJKPrV1hGITXId5krn3fbEBK9xsgfvqHeuq9Ew2DVZOm7q+pcmF++ tFMpNqLCFGEjrGb0D+m0/MNLXLQj1e3VnAwaEBL8Y+q3Io07+g/bm5xQupaIHluM7xg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794991568; h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature: X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received: Received:From:To:Cc:Subject:Date:Message-ID:X-Mailer:X-Mailing-List: List-Id:List-Post:List-Help:List-Subscribe:List-Unsubscribe: List-Owner:Precedence:MIME-Version:Content-Transfer-Encoding; bh=rH7dHadXHQBCAb1xibb6d+8zPhNSRfeCjnCBhbphGSo=; b=eybKojOnIhI6B2UviTJa0rLCsJclPkdn/FvAWkHYMPZ2y1aYVVqt2/uO/XQ13zcgF8oe hCZjEGLIrxxvMKaKDCVTSnbYGu7UcYrFXxxszkLtHPcdU5Uo8CBO5FcKY6RbIppZdzKA7 y3PFWS2NQGGhkwyC6C/dNE+azdubibUf4Le10ZUZqTMYW04vwibvwH1PDMm00m8aTi7ma o9jFw4dHqKJsP8XRsjCN7I591hd3nPhfbAsRSKjAicG7OtnFm8s85P+WDEP2pKdUPqrw4 MiSsL+fiuveyW0U1s4d2Tojz1Vhle3hNGyzX+/0BwwneRpds4mwApWgQu0rDF3Q1PDA== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=EEW8WNWB; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.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 27DFA606A33D; Wed, 18 Nov 2026 08:46:08 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=EEW8WNWB X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.50 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794991567; b=k6IbEzmASWCqb7ogsj/qYII2KhrpGZVYQG8HXLcGWLj1zcl4m+aZVpHMqdpj4I4JXUQF gqTKOqNW+d0rk2gtjEgXBi9FXrED9sEa8uCQM7BUa07N7VzH/OSjH83lZtELbmet156/0 NwguTXkzwB+6p1UziuCC/4eBmm6CzA2x8VEr+9INssDDLLlFzICD4E1Fj9cU1FBX6Pymh 9/KRB1N8kyEi++6DMdkRD7cpO+9ivrT2UafbNJhUSEkx+qoTNjbodPH4qTFRIyKan9Vlc UsosaFsVEZFJOSZGgOSeXGreGcBjR6dJMiWArgtqJsBz87E1rqeojduf7ljcnCre/Qw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794991567; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Cc:Subject: Date:Message-ID:X-Mailer:MIME-Version:Content-Transfer-Encoding; bh=rH7dHadXHQBCAb1xibb6d+8zPhNSRfeCjnCBhbphGSo=; b=yqx8TW4FVp3Asb60P3dJ5VFIHqJtZdkCNfs1MLqxxHWu0Aay91xDBGyaVbXdwS3tJfD8 Y3mx+lay9zPEgfDSN5Vu5qKAuTpY/ILHi52FR/hjFymciC4/aqyEdZZwDXUY3317CYMie VpdCEsEqQCkAMzq3usHZh2ZOajdRJL8gTSiJ08CM7114p2VHqydlO77U/a6SfJFQ7snJ2 4ArjS3kxzKuGbIz5dLUr0dMbVxSGdLgsUsliNMlGFltxjU5V146zbmC/VYU8ig3disGbq Xd2EoXE7za/bKVHELFbCLV1LVbfWHZJD1T/hNGTvc896uem/mw6ptNGasuEbgTyzy1A== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=EEW8WNWB; arc=none smtp.remote-ip=74.125.82.50 X-Received: from mail-dl1-f50.google.com (mail-dl1-f50.google.com [74.125.82.50]) (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 E7F82606A32C for <netdev@vger.kernel.org>; Wed, 18 Nov 2026 08:46:06 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E7F82606A32C X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com X-Received: by mail-dl1-f50.google.com with SMTP id a92af1059eb24-1b3ada81853so806746c88.0 for <netdev@vger.kernel.org>; Wed, 18 Nov 2026 00:46:06 -0800 (PST) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1794991566; x=1795596366; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=rH7dHadXHQBCAb1xibb6d+8zPhNSRfeCjnCBhbphGSo=; b=EEW8WNWByczu4ke+zSMCDWYT3ytnREhs02FtgVDVy97uFVL1M63IfMMn7i1shDNIKY EHSikcxcfwuXcY0KfiJy6NQEm98L/FTxMsIMMWTrnD+k1ngKNWjyIYCAaCTKsf3cvtNS 2RzaOW6cjqRgjb42qoR+vz9uP66wtSwosjEi5ZwXSudA2RIVOUvqfEqWBgrcshrgkmrx ZrlL3LSBpgqvO8fYOTZxP9c8C2qbTjPSLhMJ99yDNDotRugINQDbFm6lxFzBZQ8crz3w OXmmDDcMlxKevtFaB50JGyJVMqF2axaLqGv03HguhlbVU/sINHXD1T/jFB8xE6MrbaCE 2npA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794991566; x=1795596366; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=rH7d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uztuyL4UldNnQIjyYPYbU4PvVS5lI5inK4ypruoLuY+JrK538ViIFRnzWig rAKHt2kW0TV4KcJ///azypzjrhFTnEi4AeMBek/g+hS+W1Wtc/NgvLD+ X-Received: by 2002:a05:7023:a4b:20b0:1b5:32d6:677f with SMTP id a92af1059eb24-1b543cfc722mr1753116c88.34.1794991565842; Wed, 18 Nov 2026 00:46:05 -0800 (PST) X-Received: from zypulse-in-radeon-MS-7E24.lan ([2406:da18:1601:7200:e02b:e41c:8db0:668d]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-1b5447dc5e9sm7220671c88.11.2026.11.18.00.46.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Nov 2026 00:46:05 -0800 (PST) X-Cc: David Ahern <dsahern@kernel.org>, Ido Schimmel <idosch@nvidia.com>, Stephen Hemminger <stephen@networkplumber.org>, "David S . Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>, Shuah Khan <shuah@kernel.org>, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org X-Mailer: git-send-email 2.55.0 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-Received-Bytes: 11519