From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7D615480967 for ; Wed, 29 Jul 2026 12:08:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785326912; cv=none; b=sZrKa50FvOvusRoFPZlB6MlDIlqh/pEHQu3KF9AX5ZyWXv/D7T5g7x/zaIvLW4eEqCdVFSV5U6S9S6iIbBAS339NkThTsQ4gRBUbloTfpeuAE14hh12+54Z360UhmwrqNR4dW2HDMQ/Lbvk9PBJ/98jxv4iL8l4eYAdSKwu21OE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785326912; c=relaxed/simple; bh=/1aVlWW0aqZciYFSw+AOVrBgxkbF7Mvd+1bStEYFWQ8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=C7om5Hhg/+BmvHG72/ObRDqIFsjXaKhBF2OnVdL9fyp3HsrIAlz7WqKmLbkRQTsWfL07hY6vh5Zw+dkczDkH/EMKblrVIZ4qdT+ZKPS0fOJJ1akTHCkO0k1q7Qn0izx5hI1f6CTTM9RTg0UeQzVkJCZaq2MJCOL2+gwDKuwSiS0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=VjSfGnZe; arc=none smtp.client-ip=209.85.210.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="VjSfGnZe" Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-845c92bc464so789956b3a.2 for ; Wed, 29 Jul 2026 05:08:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785326910; x=1785931710; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to:content-type; bh=yuxY4tXM3iR0bUsRR6CCNuiHoOS0/eoyg0oTXxAyJpU=; b=VjSfGnZeerrSMtKMf30hC0mQiEE1zpMlTZEKxr4lis8XO6vKfVHM/murCf5lVGhh3R 0VJYfT6dCjWVxc2aJKETvvrcFL0IwbBjHLGpE5EY2iRAUx44cCc9pISWbt2rx3L7ez44 Zky1qrn4KBeiWmB1xCdxGSPFqoKhc5ZqmUdXAHJdHyn1m59sGKm3EPPWnTAhztBNKXnq vV9/fikOhHvUjGSKXj2s4jmbkbB4VHnKFJwe80+2eGXZ3tUPQHqDC40GjfNdaVk1AScQ YjQujbHuF8UgKxEdo3ooklaat6V0Sqpx3ouCIi4LJu0dhY5degiafg/WF1CI3Xsf/c6Z MSOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785326910; x=1785931710; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=yuxY4tXM3iR0bUsRR6CCNuiHoOS0/eoyg0oTXxAyJpU=; b=PlvcMsUS5Zrlwmvia/VvBuyxlSIbEEO3ZrvSg/9UM9fFr7gfpJnhGumN9dVUZtYdYb hENabaQjeHhbDFf6ArjjKX1jYt7ojfcEKTIBUOt8BV6cG1GqGpbWVK5oQ7qiq3pnkHXo t7wHVinkQ2/s7+EJfFkhaOdUGZCb1a5whDylKxbVsJGF/7Bic3u8NcUx1nJmcaZi1Jvj Uauh6VG9Mfn8ETMKQ8I95JUNp0Qwn99E/z9BIRogqjKJ/RMIFDgeS48PrQvHTYTu9aww WOMrpxAHRDRqKYXh+28Rqw3PC3WD52wGX7JMmGbk2eJTt9YddGcPvL/2zXpuP2VpxOls psrg== X-Forwarded-Encrypted: i=1; AHgh+Rr6geXl0Btz2NMOSowcUJvWcW8FO7Z4SiYvGv/B9mw8dkleCGThE+CzqgoL7fg1AHpK+cV02FqlWtsR+8s=@vger.kernel.org X-Gm-Message-State: AOJu0YxAxTSJ+DOEb7pyFXvXXAv8mA4LrfkTOxzJarfoL+iKr4/DmJ0i QIeoHCjVN1fX+sjuNTV8NAW+lOHptMbe3kgRf1FbBAQaiHXZCu3K3dCo X-Gm-Gg: AR+sD115OLjQIl6eTkUnNSo63k4xC3mEZHYzGfSHRqj2tHaTdWdzf0epk6CZxZv+8i6 5tfEIKQjuoBoTIorbpUZ5/1aJ65OT5XsOV2uh2PacSpS52TyerF5OcrJs+zOhHFjeqt5pKeljtd NVGIIjcPzHpM7QFEnnZ8tfAL1j/oOXjYGGszZcef2e7UnI3O1NNXGzaP95kRFYeF7dGG7OLtE03 cPYgpSJSLXkzPX2m1mwD5MnBWVwN4IxyeN80OIXlslvH9oyveSNH90gVJb9UZronkfgdD/G7ln2 wg0TNECId7hNdz6UsJ1HSwH5x7k/KoM5158+hV1mPCB/p8m7itOJ/R+Pj1R/xJzBaFAVHY82hAy KiGcOYkAAiD1uNIlYux4HAtGABzSwVXbiAiyeFWX/CkVWJh8FCndPhnmn5JR9KhEuHORe4GCEfn yCoBwe73ZQ8nlJPLi1alRoCDwbj8AsWZLdkhQGorTK4TEQ/FXPx0s5N4hv15hiKaYTU4OyqThCg nMxHxJoeFY60kpcyDkd0ym8pjq8x6u8/wRUwQ== X-Received: by 2002:a05:6a00:1889:b0:845:c694:5c3d with SMTP id d2e1a72fcca58-84e9310d9b9mr6927453b3a.1.1785326909669; Wed, 29 Jul 2026 05:08:29 -0700 (PDT) Received: from m-upc-A520M-HDV.lan ([2400:2410:3f60:500:c705:d3b3:a6d9:8512]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-84ea0300ac2sm1263482b3a.35.2026.07.29.05.08.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jul 2026 05:08:28 -0700 (PDT) Sender: Yuyang Huang From: Yuyang Huang To: Yuyang Huang Cc: "David S. Miller" , Bobby Eshleman , Chris J Arges , David Ahern , David Wei , Dimitri Daskalakis , Donald Hunter , Eric Dumazet , Gal Pressman , Ido Schimmel , Jakub Kicinski , Paolo Abeni , Shuah Khan , Simon Horman , Stanislav Fomichev , Willem de Bruijn , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH net-next v4 08/10] netlink: specs: rt-route: split out the request attribute list Date: Wed, 29 Jul 2026 21:07:37 +0900 Message-ID: <20260729120739.47880-9-sigefriedhyy@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260729120739.47880-1-sigefriedhyy@gmail.com> References: <20260729120739.47880-1-sigefriedhyy@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The newroute and delroute requests alias the same attribute list as the getroute reply, but requests and replies do not carry the same attributes. Give the requests their own list. The two lists are identical today, so the generated code does not change. Signed-off-by: Yuyang Huang --- Documentation/netlink/specs/rt-route.yaml | 32 +++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/Documentation/netlink/specs/rt-route.yaml b/Documentation/netlink/specs/rt-route.yaml index 62b215614210..9f4a1a253676 100644 --- a/Documentation/netlink/specs/rt-route.yaml +++ b/Documentation/netlink/specs/rt-route.yaml @@ -313,7 +313,35 @@ operations: do: request: value: 24 - attributes: *all-route-attrs + attributes: &route-req-attrs + - dst + - src + - iif + - oif + - gateway + - priority + - prefsrc + - metrics + - multipath + - flow + - cacheinfo + - table + - mark + - mfc-stats + - via + - newdst + - pref + - encap-type + - encap + - expires + - pad + - uid + - ttl-propagate + - ip-proto + - sport + - dport + - nh-id + - flowlabel - name: delroute doc: Delete an existing route @@ -321,7 +349,7 @@ operations: do: request: value: 25 - attributes: *all-route-attrs + attributes: *route-req-attrs - name: newroute-ntf doc: Notification about a created route. -- 2.43.0