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 eth0 to vrf-blue.
> 
> Signed-off-by: Alexis Bauvin <abau...@scaleway.com>
> Reviewed-by: Amine Kherbouche <akherbou...@scaleway.com>
> Tested-by: Amine Kherbouche <akherbou...@scaleway.com>
> ---
>  include/net/l3mdev.h | 22 ++++++++++++++++++++++
>  net/l3mdev/l3mdev.c  | 18 ++++++++++++++++++
>  2 files changed, 40 insertions(+)
> 

Reviewed-by: David Ahern <dsah...@gmail.com>


Reply via email to