]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0682c65fb41e01572ebaeb1fbfee3dafd2b85b57
treeb49af925f2cab676fa30c004bdacb92ea0cc8a27
parenta1197c1598fdc1a139541cfc527799a3e2ecb75c
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: c91fc93906fd ('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