net: Disallow providing non zero VLAN ID for NIC drivers FDB add flow
authorOr Gerlitz <[email protected]>
Sun, 14 Dec 2014 16:19:05 +0000 (18:19 +0200)
committerDavid S. Miller <[email protected]>
Tue, 16 Dec 2014 20:41:19 +0000 (15:41 -0500)
commit65891feac27e26115dc4cce881743a1ac33372df
tree6203868aee4509125cff8a5fc7f24f622edb25b0
parentc3f2511feac088030055012cc8f64ebd84c87dbc
net: Disallow providing non zero VLAN ID for NIC drivers FDB add flow

The current implementations all use dev_uc_add_excl() and such whose API
doesn't support vlans, so we can't make it with NICs HW for now.

Fixes: f6f6424ba773 ('net: make vid as a parameter for ndo_fdb_add/ndo_fdb_del')
Signed-off-by: Or Gerlitz <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Acked-by: Jeff Kirsher <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/intel/i40e/i40e_main.c
net/core/rtnetlink.c