]> git.baikalelectronics.ru Git - kernel.git/commit
iavf: do not override the adapter state in the watchdog task (again)
authorStefan Assmann <sassmann@kpanic.de>
Wed, 1 Dec 2021 08:14:34 +0000 (09:14 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 13 Dec 2021 18:47:03 +0000 (10:47 -0800)
commit84d4e1db650601165fc7183f09bbc234045bb4ea
treed173a48044fa4788de069fb57a19d2b036e0a026
parentac4af79e9c18278e667d408e7c3b430ac1b5fe24
iavf: do not override the adapter state in the watchdog task (again)

The watchdog task incorrectly changes the state to __IAVF_RESETTING,
instead of letting the reset task take care of that. This was already
resolved by commit 0f71a5a02322 ("iavf: do not override the adapter
state in the watchdog task") but the problem was reintroduced by the
recent code refactoring in commit 7e658751ba6e ("iavf: Refactor iavf
state machine tracking").

Fixes: 7e658751ba6e ("iavf: Refactor iavf state machine tracking")
Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/iavf/iavf_main.c