linux_dsm_epyc7002/drivers/net/ethernet/qlogic/qlge
Marcelo Leitner 61132bf7fb qlge: Fix qlge_update_hw_vlan_features to handle if interface is down
Currently qlge_update_hw_vlan_features() will always first put the
interface down, then update features and then bring it up again. But it
is possible to hit this code while the adapter is down and this causes a
non-paired call to napi_disable(), which will get stuck.

This patch fixes it by skipping these down/up actions if the interface
is already down.

Fixes: a45adbe8d3 ("qlge: Enhance nested VLAN (Q-in-Q) handling.")
Cc: Harish Patil <harish.patil@qlogic.com>
Signed-off-by: Marcelo Ricardo Leitner <mleitner@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-02-02 17:51:14 -08:00
..
Makefile
qlge_dbg.c qlge: make local function static 2013-12-26 13:29:35 -05:00
qlge_ethtool.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
qlge_main.c qlge: Fix qlge_update_hw_vlan_features to handle if interface is down 2015-02-02 17:51:14 -08:00
qlge_mpi.c qlge: call ql_core_dump() only if dump memory was allocated. 2013-09-24 11:19:46 -04:00
qlge.h qlge: make local function static 2013-12-26 13:29:35 -05:00