Files
linux/include/net
Alexis Bauvin 6a6d6681ac l3mdev: add function to retreive upper master
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 |
|          |
+----+-----+
     |
     |
+----+-----+
|          |
| br-blue  |
|          |
+----+-----+
     |
     |
+----+-----+
|          |
|   eth0   |
|          |
+----------+

This will properly resolve the l3mdev of eth0 to vrf-blue.

Signed-off-by: Alexis Bauvin <abauvin@scaleway.com>
Reviewed-by: Amine Kherbouche <akherbouche@scaleway.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Tested-by: Amine Kherbouche <akherbouche@scaleway.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-12-03 14:15:26 -08:00
..
2018-09-08 01:39:47 +09:00
2018-09-18 19:55:01 -07:00
2018-11-15 11:35:40 -08:00
2018-10-31 12:37:12 -07:00
2018-09-26 20:22:19 -07:00
2018-07-30 09:10:25 -07:00
2018-11-07 23:00:23 -08:00
2018-11-07 16:23:05 -08:00
2018-09-13 09:04:58 -07:00
2018-09-25 20:17:35 -07:00
2018-06-22 13:43:27 +09:00
2018-06-22 13:43:27 +09:00
2018-10-23 10:57:06 -07:00
2018-11-30 13:28:03 -08:00
2018-11-21 17:10:30 -08:00
2018-08-29 12:25:53 -07:00