diff options
author | Alok Prasad <palok@marvell.com> | 2020-06-05 18:30:34 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-05 22:20:16 +0200 |
commit | 6da95b52b8ea4944ed1e596ee6db176ee83ddbeb (patch) | |
tree | c8b2007fd1cf22b6cb0bacb9462b4051574d32ac /crypto/md4.c | |
parent | vsock/vmci: make vmci_vsock_transport_cb() static (diff) | |
download | linux-6da95b52b8ea4944ed1e596ee6db176ee83ddbeb.tar.xz linux-6da95b52b8ea4944ed1e596ee6db176ee83ddbeb.zip |
net: qed: fixes crash while running driver in kdump kernel
This fixes a crash introduced by recent is_kdump_kernel() check.
The source of the crash is that kdump kernel can be loaded on a
system with already created VFs. But for such VFs, it will follow
a logic path of PF and eventually crash.
Thus, we are partially reverting back previous changes and instead
use is_kdump_kernel is a single init point of PF init, where we
disable SRIOV explicitly.
Fixes: 37d4f8a6b41f ("net: qed: Disable SRIOV functionality inside kdump kernel")
Cc: Bhupesh Sharma <bhsharma@redhat.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: Alok Prasad <palok@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/md4.c')
0 files changed, 0 insertions, 0 deletions