Re: [RFC v4 2/5] l3mdev: add function to retreive upper master

2018-11-22 Thread David Ahern
On 11/21/18 6:07 PM, Alexis Bauvin wrote: > Existing functions to retreive the l3mdev of a device did not walk the > master chain to find the upper master. This patch adds a function to > find the l3mdev, even indirect through e.g. a bridge: > > ... > > This will properly resolve the l3mdev of

[RFC v4 2/5] l3mdev: add function to retreive upper master

2018-11-21 Thread Alexis Bauvin
Existing functions to retreive the l3mdev of a device did not walk the master chain to find the upper master. This patch adds a function to find the l3mdev, even indirect through e.g. a bridge: +--+ | | | vrf-blue | | | ++-+ | | ++-+ |