summaryrefslogtreecommitdiff
path: root/net/sunrpc/xprt.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2022-04-07 21:10:23 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2022-04-07 23:20:01 +0300
commitb056fa070814897be32d83b079dbc311375588e7 (patch)
treee5d1bad92b8c8dbc1510472727173667c11bb1dc /net/sunrpc/xprt.c
parent25cf32ad5dba79385f6e7de9008dcb75556c42d2 (diff)
downloadlinux-b056fa070814897be32d83b079dbc311375588e7.tar.xz
SUNRPC: svc_tcp_sendmsg() should handle errors from xdr_alloc_bvec()
The allocation is done with GFP_KERNEL, but it could still fail in a low memory situation. Fixes: 4a85a6a3320b ("SUNRPC: Handle TCP socket sends with kernel_sendpage() again") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'net/sunrpc/xprt.c')
0 files changed, 0 insertions, 0 deletions