[PATCH 6.1 040/194] cifs: fix session state check in reconnect to avoid use-after-free issue