Skip to content

Commit f91d718

Browse files
Tariq Toukandavem330
authored andcommitted
Revert "net/mlx4_en: Fix panic during reboot"
This reverts commit 9d2afba. 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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent fb56be8 commit f91d718

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/net/ethernet/mellanox/mlx4/en_netdev.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2202,7 +2202,6 @@ void mlx4_en_destroy_netdev(struct net_device *dev)
22022202

22032203
if (!shutdown)
22042204
free_netdev(dev);
2205-
dev->ethtool_ops = NULL;
22062205
}
22072206

22082207
static int mlx4_en_change_mtu(struct net_device *dev, int new_mtu)

0 commit comments

Comments
 (0)