aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>2015-08-19 06:27:10 +0300
committerDavid S. Miller <davem@davemloft.net>2015-08-20 13:01:57 -0700
commit2640b39c28174dba1c9e089be575d87e5204282f (patch)
tree31469786ba4ba2c8999290fe13d6a000e8a7a2ac /net
parentvrf: move vrf_insert_slave so we can drop a goto label (diff)
downloadlinux-dev-2640b39c28174dba1c9e089be575d87e5204282f.tar.xz
linux-dev-2640b39c28174dba1c9e089be575d87e5204282f.zip
vrf: ndo_add|del_slave drop unnecessary checks
When ndo_add|del_slave ops are used, they're taken from the respective master device's netdev ops, so if the master device is a VRF only then the VRF ops will get called thus no need to check the type of the master. Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions