RDS-TCP: Set up MSG_MORE and MSG_SENDPAGE_NOTLAST as appropriate in rds_tcp_xmit
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Wed, 30 Sep 2015 20:54:09 +0000 (16:54 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Oct 2015 10:34:53 +0000 (03:34 -0700)
commit76b29ef120f5b845f862de08b92c7d2317b50907
treefeccf26a3c9fa86e110b4b7a6b35cd9413c4d5df
parent1edd6a14d24f21b8b478970c63a243a08e2b55b0
RDS-TCP: Set up MSG_MORE and MSG_SENDPAGE_NOTLAST as appropriate in rds_tcp_xmit

For the same reasons as commit 2f5338442425 ("tcp: allow splice() to
build full TSO packets") and commit 35f9c09fe9c7 ("tcp: tcp_sendpages()
should call tcp_push() once"), rds_tcp_xmit may have multiple pages to
send, so use the MSG_MORE and MSG_SENDPAGE_NOTLAST as hints to
tcp_sendpage()

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/tcp_send.c