diff options
| author | David Ahern <[email protected]> | 2015-09-30 03:07:13 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-09-30 03:40:33 +0000 |
| commit | 385add906b6155e8bc64035ad56fb8ccfef925f7 (patch) | |
| tree | 558ac72668d0b93938f20a7ba08bb7e14b2ac6ed /net/switchdev/switchdev.c | |
| parent | net: Add support for l3mdev ops to VRF driver (diff) | |
| download | kernel-385add906b6155e8bc64035ad56fb8ccfef925f7.tar.gz kernel-385add906b6155e8bc64035ad56fb8ccfef925f7.zip | |
net: Replace vrf_master_ifindex{, _rcu} with l3mdev equivalents
Replace calls to vrf_master_ifindex_rcu and vrf_master_ifindex with either
l3mdev_master_ifindex_rcu or l3mdev_master_ifindex.
The pattern:
oif = vrf_master_ifindex(dev) ? : dev->ifindex;
is replaced with
oif = l3mdev_fib_oif(dev);
And remove the now unused vrf macros.
Signed-off-by: David Ahern <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
