From: Nikolay Aleksandrov <niko...@cumulusnetworks.com>
Date: Wed,  7 Jun 2017 18:02:32 +0300

> Currently there's no way to dump the VIF table for an ipmr table other
> than the default (via proc). This is a major issue when debugging ipmr
> issues and in general it is good to know which interfaces are
> configured. This patch adds support for RTM_GETLINK for the ipmr family
> so we can dump the VIF table and the ipmr table's current config for
> each table. We're protected by rtnl so no need to acquire RCU or
> mrt_lock.
> 
> Signed-off-by: Nikolay Aleksandrov <niko...@cumulusnetworks.com>
> ---
> v2: use netlink attributes for all mrtable and vif fields, and set message
>     type to RTM_NEWLINK
> 
> The plan is to add full netlink control to ipmr via new/set/dellink later.
> Also this would allow us to dump any number of VIFs in the future when we
> remove the VIF device limit.

Applied, thanks Nikolay.

Reply via email to