SUNRPC: Handle low memory situations in call_status()
BugLink: https://bugs.launchpad.net/bugs/1969107
[ Upstream commit
9d82819d5b065348ce623f196bf601028e22ed00 ]
We need to handle ENFILE, ENOBUFS, and ENOMEM, because
xprt_wake_pending_tasks() can be called with any one of these due to
socket creation failures.
Fixes: b61d59fffd3e ("SUNRPC: xs_tcp_connect_worker{4,6}: merge common code")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit
3b32dda29f994f036de528c07221fa72ba721f1c)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>