]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Handle low memory situations in call_status()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 7 Apr 2022 13:50:19 +0000 (09:50 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 7 Apr 2022 20:20:00 +0000 (16:20 -0400)
commit0b21c546f14cde94f142ee2b1485acf583231010
tree3761020205f74585181b9a6aab50807420c8e817
parent8d4e7cbd7bfbf9615e15dd154d2bedb2e77f38d9
SUNRPC: Handle low memory situations in call_status()

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: d8a6a04ce2de ("SUNRPC: xs_tcp_connect_worker{4,6}: merge common code")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/clnt.c