commit | 2640b39c28174dba1c9e089be575d87e5204282f | [log] [tgz] |
---|---|---|
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | Wed Aug 19 06:27:10 2015 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 20 13:01:57 2015 -0700 |
tree | 31469786ba4ba2c8999290fe13d6a000e8a7a2ac | |
parent | 15df5e711245743a7a8018dd6535e39dcfcb38fc [diff] |
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>