]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit343b29f308d0a9c12579feec9d244ffc53ae99c3
tree0869a4ba0907e8d4b0bedc141752cbba8f46ce8d
parent4de61ba234c0d5834bfec1cbe180008b9d2e1827
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