netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/1] net/ipv6: Netlink flag for new IPv6 Default Routes
@ 2024-11-05  3:18 Matt Muggeridge
  2024-11-05  3:18 ` [PATCH net 1/1] " Matt Muggeridge
  2024-11-09 22:53 ` [PATCH net 0/1] " Stephen Hemminger
  0 siblings, 2 replies; 13+ messages in thread
From: Matt Muggeridge @ 2024-11-05  3:18 UTC (permalink / raw)
  Cc: Matt Muggeridge, David Ahern, David S . Miller, linux-api, stable,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Simon Horman, netdev,
	linux-kernel

This is the cover letter and provides a brief overview of the change.

Add a Netlink rtm_flag, RTM_F_RA_ROUTER for the RTM_NEWROUTE message.
This allows an IPv6 Netlink client to indicate the default route came
from an RA. This results in the kernel creating individual default
routes, rather than coalescing multiple default routes into a single
ECMP route.

This change also needs to be reflected in the man7/rtnetlink.7 page. Below is
the one-line addition to the man-pages git repo
(https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git):

diff --git a/man/man7/rtnetlink.7 b/man/man7/rtnetlink.7
index 86ed459bb..07c4ef0a8 100644
--- a/man/man7/rtnetlink.7
+++ b/man/man7/rtnetlink.7
@@ -295,6 +295,7 @@ if the route changes, notify the user via rtnetlink
 T}
 RTM_F_CLONED:route is cloned from another route
 RTM_F_EQUALIZE:a multipath equalizer (not yet implemented)
+RTM_F_RA_ROUTER: the route is a default route from an RA
 .TE
 .IP
 .I rtm_table


Signed-off-by: Matt Muggeridge <Matt.Muggeridge@hpe.com>
Cc: David Ahern <dsahern@kernel.org>
Cc: David S. Miller <davem@davemloft.net>
Cc: linux-api@vger.kernel.org
Cc: stable@vger.kernel.org

Matt Muggeridge (1):
  net/ipv6: Netlink flag for new IPv6 Default Routes

 include/uapi/linux/rtnetlink.h | 9 +++++----
 net/ipv6/route.c               | 3 +++
 2 files changed, 8 insertions(+), 4 deletions(-)


base-commit: 5ccdcdf186aec6b9111845fd37e1757e9b413e2f
-- 
2.35.3


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-11-14 20:43 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-05  3:18 [PATCH net 0/1] net/ipv6: Netlink flag for new IPv6 Default Routes Matt Muggeridge
2024-11-05  3:18 ` [PATCH net 1/1] " Matt Muggeridge
2024-11-05 14:37   ` Nicolas Dichtel
2024-11-06  1:44     ` Matt Muggeridge
2024-11-05 18:15   ` Ido Schimmel
2024-11-06  2:50     ` Matt Muggeridge
2024-11-06 12:37       ` Ido Schimmel
2024-11-07  3:53         ` Matt Muggeridge
2024-11-07  9:52           ` Ido Schimmel
2024-11-08  2:20             ` Matt Muggeridge
2024-11-14 20:42             ` Matt Muggeridge
2024-11-06 18:59       ` David Ahern
2024-11-09 22:53 ` [PATCH net 0/1] " Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).