cifs: smbd: Return -ECONNABORTED when trasnport is not in connected state
authorLong Li <longli@microsoft.com>
Wed, 16 Oct 2019 20:51:54 +0000 (13:51 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Dec 2019 10:04:43 +0000 (11:04 +0100)
commitb1c5a29621cf34b77d80d53d6728b9f90dbd250b
tree17f070ffc8a2a1b0f5f74c89f5d3de5a5c0cf9bc
parent68dcbbd067e2873ac871722bc0a4586bd4648cab
cifs: smbd: Return -ECONNABORTED when trasnport is not in connected state

commit acd4680e2bef2405a0e1ef2149fbb01cce7e116c upstream.

The transport should return this error so the upper layer will reconnect.

Signed-off-by: Long Li <longli@microsoft.com>
Cc: stable@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/smbdirect.c