]> 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)
commitb6d69a0ba6344b8cb95da30f2ba8624347153d07
treed173a48044fa4788de069fb57a19d2b036e0a026
parentd2ca0f368b0418a8aa88a98fcf6feb27071ad7a8
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 a15f78ea1171 ("iavf: do not override the adapter
state in the watchdog task") but the problem was reintroduced by the
recent code refactoring in commit 5e34a07e771d ("iavf: Refactor iavf
state machine tracking").

Fixes: 5e34a07e771d ("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