]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: try switchdev op first in __vlan_vid_add/del
authorJiri Pirko <jiri@mellanox.com>
Fri, 9 Oct 2015 11:54:11 +0000 (13:54 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2015 02:35:20 +0000 (19:35 -0700)
commit327c8face8136a94cf9d17a6a3b97e6996491489
treec59017b588ec662c7d324bfb502a71b3b30cc644
parentd0948de727ce505966908e20d8035d6dc8020dd6
bridge: try switchdev op first in __vlan_vid_add/del

Some drivers need to implement both switchdev vlan ops and
vid_add/kill ndos. For that to work in bridge code, we need to try
switchdev op first when adding/deleting vlan id.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_vlan.c