From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) (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 AAA393191BD for ; Sat, 8 Aug 2026 00:57:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786150648; cv=none; b=kFyiri8T0ZUrVg07ASCiEx5kTwUVP99Kh1zw+SiFuU6RQ2oMrggWS8c3sTbJr9hVWWNgT480y+l6Ln7K5i22fSBVJmFOO6+9s8Jjplky/5whGVW8v4egAJDxg/8tEV47YpoUX3MzbKrhbZmHXaXWfb1ehI7OUtL7wOIrJgfhdpM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786150648; c=relaxed/simple; bh=/1aVlWW0aqZciYFSw+AOVrBgxkbF7Mvd+1bStEYFWQ8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Pm9PwLCqpxpzdYHkhq8nI8xa5wOlEKe4viAp4a7Uvy12Ca35c+BO7+whNP2RiVyABIyw5j5K34XQSWzR8f0SgFyFryqpM9SSmdBjDxp3/S+BOYIe+MNTIBLXjip76l+gdFltg/IDYEf6GlgDdASiqz+hRRgQgEO15uYbS8sLt2I= 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=okFlVBKO; arc=none smtp.client-ip=209.85.216.54 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="okFlVBKO" Received: by mail-pj1-f54.google.com with SMTP id 98e67ed59e1d1-381c51fde6bso132169a91.2 for ; Fri, 07 Aug 2026 17:57:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786150646; x=1786755446; 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=okFlVBKOC752/QidXq6WJmPC8WPZfQpgKT+E+4pX06HnXaaY7tcP3tS+YCAHRy38k7 +wW0pV/pkgYYNmUcvEmYeSndORXgS7VOUWwx3p7Zb2ErVBnAbouAs3+O2jFlUY7d9YQu qm2l/K7493H7c91Al5svUEFG/KUY+NR2hwehEy+c4GkuaGalfhlFA3XhtKubDL8g79ZI iTT9xGv3gvhU4KSE5XNTKJxTpg7W/+tLXao3KAKKyq3JNPhRI3Bt15r209c9s0Vjkifs ZalZEen9Pka8QuoHr+iirsxWYttju+5nLH/AwfJxTOd6Mga8T0KGvJJfhIM57ZQVI03L zdxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786150646; x=1786755446; 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=KHUGiGJgMuv5l6MHs7QQlpzKGmTdY+QDopwldtEPMzaWyoZpeqzyrRQlKC+UrVnsKI 0ZGjtM1lAYtefgIDWC0g94OUjtOpLEosbuKhnOyJuZ5oDKvJeqZR3rmjlNJEZbYw2Oy4 4apXi5OJ2O2N6+Z71l69l0WTvACLWRXyus6HoOnsR1bJbuv34HmgYXLD07DrzomPPgdi kYB9hXE+sEim8YidTN8M9ppJXdix5KTye4neaCptvvrhKDrrIoXhUXhm89jJiRMqEUvt I1Ueps4UOfjN8cj6CsFvAJ4OpM2T1iDM5R+SIAtpJTWQaIQsxSZQd6C8SMSW3wCea8uw TAsA== X-Forwarded-Encrypted: i=1; AHgh+RpmGEYIc3WXg3t00eKY/gmMCqhz7Rf0y5aODfHIvg1exuLi32kCqaWB6iOWALCbJmFeLfxQOEfchnTdDbo=@vger.kernel.org X-Gm-Message-State: AOJu0Yw/ppw9d2AFjvy9Ru64aIoVGOi1eNF83xHNKhpBqxILAUODHVZc +FpjTOp0UA4EQoeozN/M7i+cDql3ADdKkQfyG1aLCSV+8IsGumD5c1d/ X-Gm-Gg: AR+sD13u3P+QGLPGx/uBFn8O2+hU2y2Cy25H4e6Yr+g0PVaPJhb9DlnPw2CJEacLU1F 1y9eeHUVHcjt1EPz+KrFQfomepeOfESdg6OG1peZLyOLjGu+ABt3iJinlZl82LfpBvmTw7jQ2tj IhxQh0246vLG9tEsZjOYKuccYWnVCoUTRTApoKxlcmKuRAK+UubyJBVebJzp2HjCPlHVCRm815A Fw2AI3YelhNKnPGrtMkbUi71t3soOaAobEM1dMKJWOcTsAdJNTylYZUU4Igr+PGOySolIOUZD0S iL5PiD+hP4WCTjmbXFVHjcfxLBdu/1klDse4q2saz9A72GaAO2bkUk67lG70EUOgRrMwchTz95d fNNSkdHkDCYvn0I+qaFtI2FETBET2WpHuupVGhul+cyzfQdLf0ITlA51/3ydYzVQJYN8JLJ28A3 GC7gfyPl6nwYYanevjSULDuKHKCpQS8hVyGH2n6au5CR+swLJwvMPtSog3qmiQC0IP7Rm+w+VPd LvjYyGZUctcyqX4RQZqEaSFVrtzynI9kVPfNmjqkmH76amL98k= X-Received: by 2002:a17:90b:4f81:b0:38c:e9e9:e7ce with SMTP id 98e67ed59e1d1-392822bf6abmr3156672a91.3.1786150645933; Fri, 07 Aug 2026 17:57:25 -0700 (PDT) Received: from m-upc-A520M-HDV.flets-east.jp ([2400:2410:3f60:500:d7e9:6449:7464:1dfa]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3925fc6c13asm4205182a91.2.2026.08.07.17.57.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Aug 2026 17:57:25 -0700 (PDT) Sender: Yuyang Huang From: Yuyang Huang To: Yuyang Huang Cc: "David S. Miller" , Chris J Arges , Daniel Zahka , David Ahern , David Wei , Dimitri Daskalakis , Donald Hunter , Eric Dumazet , 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 v6 08/10] netlink: specs: rt-route: split out the request attribute list Date: Sat, 8 Aug 2026 09:56:40 +0900 Message-ID: <20260808005642.26901-9-sigefriedhyy@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260808005642.26901-1-sigefriedhyy@gmail.com> References: <20260808005642.26901-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