From: Alok Prasad <pa...@marvell.com>
Date: Fri, 5 Jun 2020 16:30:34 +0000

> 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 <bhsha...@redhat.com>
> Signed-off-by: Igor Russkikh <irussk...@marvell.com>
> Signed-off-by: Alok Prasad <pa...@marvell.com>

Applied.

Reply via email to