]> 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)
commite5215af133e55abfd40201e3865b7f6753b9d94b
treeb49af925f2cab676fa30c004bdacb92ea0cc8a27
parentc658f6dbdba633702715057c1a6d99b8fd9883e4
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: 1de41512cb73 ('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