aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svcauth_unix.c
diff options
context:
space:
mode:
authorChuck Lever <[email protected]>2020-03-02 20:20:33 +0000
committerChuck Lever <[email protected]>2020-03-16 16:04:33 +0000
commitda1661b93bf489cdbc8bcea919b165d31b4810bf (patch)
treea5c74bd21ea5c9b360037679568b1608e4a9af38 /net/sunrpc/svcauth_unix.c
parentSUNRPC: Refactor xs_sendpages() (diff)
downloadkernel-da1661b93bf489cdbc8bcea919b165d31b4810bf.tar.gz
kernel-da1661b93bf489cdbc8bcea919b165d31b4810bf.zip
SUNRPC: Teach server to use xprt_sock_sendmsg for socket sends
xprt_sock_sendmsg uses the more efficient iov_iter-enabled kernel socket API, and is a pre-requisite for server send-side support for TLS. Note that svc_process no longer needs to reserve a word for the stream record marker, since the TCP transport now provides the record marker automatically in a separate buffer. The dprintk() in svc_send_common is also removed. It didn't seem crucial for field troubleshooting. If more is needed there, a trace point could be added in xprt_sock_sendmsg(). Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'net/sunrpc/svcauth_unix.c')
0 files changed, 0 insertions, 0 deletions