]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net/mlx5e: Fix setup TC ndo
authorSaeed Mahameed <saeedm@mellanox.com>
Tue, 9 May 2017 13:40:46 +0000 (16:40 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Sun, 14 May 2017 10:33:45 +0000 (13:33 +0300)
commit20b6a1c78280dbeb45214c463cf9cbccb3665146
tree3211412f7307b9696fbc7eef17fab498a0941808
parente3c19503712d6360239b19c14cded56dd63c40d7
net/mlx5e: Fix setup TC ndo

Fail-safe support patches introduced a trivial bug,
setup tc callback is doing a wrong check of the netdevice state,
the fix is simply to invert the condition.

Fixes: 6f9485af4020 ("net/mlx5e: Fail safe tc setup")
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c