[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220701075805.65978-1-equinox@diac24.net>
Date: Fri, 1 Jul 2022 09:58:03 +0200
From: David Lamparter <equinox@...c24.net>
To: netdev@...r.kernel.org
Cc: "David S. Miller" <davem@...emloft.net>,
David Ahern <dsahern@...nel.org>,
Eric Dumazet <edumazet@...gle.com>,
David Lamparter <equinox@...c24.net>
Subject: [PATCH resend net-next 0/2] ip6mr: implement RTM_GETROUTE for single entry
[resend with a slightly random pick of Cc:s - apologies if I ended up
choosing poorly]
The IPv6 multicast routing code implements RTM_GETROUTE, but only for a
dump request. Retrieving a single MFC entry is not currently possible
via netlink.
While most of the data here can also be retrieved with SIOCGETSGCNT_IN6,
the lastused / RTA_EXPIRES is not included in the ioctl result (and we
need it in FRR.)
=> Implement single-entry RTM_GETROUTE by copying and adapting the IPv4
code.
Tested against FRRouting's (work-in-progress) IPv6 PIM implementation.
Cheers,
-David
Powered by blists - more mailing lists