Skip to content

net/ipv6: Netlink flag for new IPv6 Default Routes

Matt Muggeridge linux-api lkml netdev stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1net/ipv6: Netlink flag for new IPv6 Default Routesinclude/uapi/linux/rtnetlink.h net/ipv6/route.c+8 -410 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/1] net/ipv6: Netlink flag for new IPv6 Default Routes

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):

man/man7/rtnetlink.7 +1 -0
index 86ed459bb..07c4ef0a8 100644
@@ -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

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

Signature · 1 line
2.35.3