]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "net/mlx4_en: Fix panic during reboot"
authorTariq Toukan <tariqt@mellanox.com>
Sun, 6 Nov 2016 16:05:06 +0000 (18:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Nov 2016 18:29:32 +0000 (13:29 -0500)
commit50cce8784d401fe6d4fc6229e774fcc1e51b345b
treefacb82ded814711632a1dd6fc56277439dc58341
parent8a7aa3c06059e54221c1e152671d6271bb0de5df
Revert "net/mlx4_en: Fix panic during reboot"

This reverts commit cc7fdd277b328760c415b586fd9c16574afd5e4a.

The original issue would possibly exist if an external module
tried calling our "ethtool_ops" without checking if it still
exists.

The right way of solving it is by simply doing the check in
the caller side.
Currently, no action is required as there's no such use case.

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