]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Priv state flag not rolled-back upon netdev open error
authorAchiad Shochat <achiad@mellanox.com>
Fri, 25 Sep 2015 07:49:09 +0000 (10:49 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2015 05:19:49 +0000 (22:19 -0700)
commit359023c0722db5553053a3008a0de815b8b3307d
tree0869a4ba0907e8d4b0bedc141752cbba8f46ce8d
parent4940766a9016ca98c91baa8e4d0867dc802e2661
net/mlx5e: Priv state flag not rolled-back upon netdev open error

The private mlx5 state flag that indicates that the netdev is
opened is set at the beginning of the netdev open flow.
In case an error occured later in the mlx5 netdev open flow, this
flag was not cleared, remaining set although the actual set is
closed.

Signed-off-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c