diff options
author | Eugenia Emantayev <eugenia@mellanox.com> | 2016-10-27 15:27:18 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-29 22:23:48 +0200 |
commit | 9d2afba058722d40cc02f430229c91611c0e8d16 (patch) | |
tree | 69218daecbae4e11931035cf949e1532f3d340f1 /drivers/net/ethernet/mellanox/mlx4/cmd.c | |
parent | net/mlx4_en: Process all completions in RX rings after port goes up (diff) | |
download | linux-9d2afba058722d40cc02f430229c91611c0e8d16.tar.xz linux-9d2afba058722d40cc02f430229c91611c0e8d16.zip |
net/mlx4_en: Fix panic during reboot
Fix a kernel panic that occurs as a result of an asynchronous event
handled in roce_gid_mgmt:
mlx4_en_get_drvinfo is called and accesses freed resources.
This happens in a shutdown flow only, since pci device is destroyed
while netdevice is still alive.
Fixes: c27a02cd94d6 ("mlx4_en: Add driver for Mellanox ConnectX 10GbE NIC")
Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/cmd.c')
0 files changed, 0 insertions, 0 deletions