net/mlx4_en: Fix the return value of a failure in VLAN VID add/kill
authorKamal Heib <kamalh@mellanox.com>
Tue, 21 Jun 2016 11:20:02 +0000 (14:20 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jun 2016 20:38:11 +0000 (16:38 -0400)
commit93c098af09455ea7bdc6f0f6b08f6ac14fa06cf4
treeb49af925f2cab676fa30c004bdacb92ea0cc8a27
parent27777daa8b6df0c19aaf591d1536a586b3eb5e36
net/mlx4_en: Fix the return value of a failure in VLAN VID add/kill

Modify mlx4_en_vlan_rx_[add/kill]_vid to return error value in case of
failure.

Fixes: 8e586137e6b6 ('net: make vlan ndo_vlan_rx_[add/kill]_vid return error value')
Signed-off-by: Kamal Heib <kamalh@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c