net/mlx5e: Add rollback on add VLAN failure
authorGal Pressman <galp@mellanox.com>
Thu, 14 Sep 2017 13:24:19 +0000 (16:24 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 9 Nov 2017 04:26:56 +0000 (13:26 +0900)
commit355368d530460aa19b9d4291e2da2c6fd8929c76
treedd688497eeecfa3055d8b6498c93c516119b0b68
parent2b52a283907b7f6d439444bfdde7f2241ddde735
net/mlx5e: Add rollback on add VLAN failure

When add VLAN rule fails the active vlan bit should be cleared.

Fixes: afb736e9330a ("net/mlx5: Ethernet resource handling files")
Signed-off-by: Gal Pressman <galp@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_fs.c