SUNRPC: Remove redundant socket flags from svc_tcp_sendmsg()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 16 Feb 2021 17:17:23 +0000 (12:17 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Tue, 16 Feb 2021 17:33:04 +0000 (12:33 -0500)
commit987c7b1d094db339e99d121e39011bdf3d32c5b8
treeda5a8f1fc4817ab096b317c2df1871887c5e7f0d
parente0a912e8ddbaa0536352dd8318845cdfdbab7bab
SUNRPC: Remove redundant socket flags from svc_tcp_sendmsg()

Now that the caller controls the TCP_CORK socket option, it is redundant
to set MSG_MORE and MSG_SENDPAGE_NOTLAST in the calls to
kernel_sendpage().

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/svcsock.c