Revert "iavf: Fix deadlock occurrence during resetting VF interface"
authorMateusz Palczewski <mateusz.palczewski@intel.com>
Thu, 24 Mar 2022 13:19:15 +0000 (14:19 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 8 Apr 2022 16:08:37 +0000 (09:08 -0700)
commit7d59706dbef8de83b3662026766507bc494223d7
tree6fdc50f363dfed34a63efd931290fd1269573a25
parentd7442f512b71fc63a99c8a801422dde4fbbf9f93
Revert "iavf: Fix deadlock occurrence during resetting VF interface"

This change caused a regression with resetting while changing network
namespaces. By clearing the IFF_UP flag, the kernel now thinks it has
fully closed the device.

This reverts commit 0cc318d2e8408bc0ffb4662a0c3e5e57005ac6ff.

Fixes: 0cc318d2e840 ("iavf: Fix deadlock occurrence during resetting VF interface")
Signed-off-by: Mateusz Palczewski <mateusz.palczewski@intel.com>
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