summaryrefslogtreecommitdiffstats
path: root/net/ethtool
diff options
context:
space:
mode:
authorDavid Christensen <drc@linux.vnet.ibm.com>2020-06-17 20:51:17 +0200
committerDavid S. Miller <davem@davemloft.net>2020-06-19 05:35:04 +0200
commit3a2656a211caf35e56afc9425e6e518fa52f7fbc (patch)
treeef10066ea45a0efcae4703b620742d360415dfa7 /net/ethtool
parentbareudp: Fixed multiproto mode configuration (diff)
downloadlinux-3a2656a211caf35e56afc9425e6e518fa52f7fbc.tar.xz
linux-3a2656a211caf35e56afc9425e6e518fa52f7fbc.zip
tg3: driver sleeps indefinitely when EEH errors exceed eeh_max_freezes
The driver function tg3_io_error_detected() calls napi_disable twice, without an intervening napi_enable, when the number of EEH errors exceeds eeh_max_freezes, resulting in an indefinite sleep while holding rtnl_lock. Add check for pcierr_recovery which skips code already executed for the "Frozen" state. Signed-off-by: David Christensen <drc@linux.vnet.ibm.com> Reviewed-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions