]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Handle ENOMEM in call_transmit_status()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 7 Apr 2022 03:18:57 +0000 (23:18 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 7 Apr 2022 20:20:00 +0000 (16:20 -0400)
commit8d4e7cbd7bfbf9615e15dd154d2bedb2e77f38d9
treeb2e77c3aa5acce21c930a674859915653e047c27
parentacf7b476b532c47de751be8d97154329eee37053
SUNRPC: Handle ENOMEM in call_transmit_status()

Both call_transmit() and call_bc_transmit() can now return ENOMEM, so
let's make sure that we handle the errors gracefully.

Fixes: 3afeef2dbd13 ("SUNRPC: Convert socket page send code to use iov_iter()")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/clnt.c