Message ID | 20241105031841.10730-1-Matt.Muggeridge@hpe.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
On Mon, 4 Nov 2024 22:18:38 -0500 Matt Muggeridge <Matt.Muggeridge@hpe.com> wrote: > 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 Please send this to Linux man page maintainers. It isn't really a linux-api type change. Not sure if man pages project does a stable tree. https://www.kernel.org/doc/man-pages/maintaining.html#:~:text=Maintaining%20Linux%20man-pages%20The%20current%20man-pages%20maintainer%20is,2020%2C%20Alejandro%20Colomar%20%28alx.manpages%40gmail.com%29%20has%20joined%20as%20comaintainer.
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
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): 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