]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS-TCP: Set up MSG_MORE and MSG_SENDPAGE_NOTLAST as appropriate in rds_tcp_
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Wed, 14 Oct 2015 01:03:04 +0000 (21:03 -0400)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Wed, 21 Oct 2015 16:07:52 +0000 (09:07 -0700)
commitc55c91e91fc030ea313b90e0db3b6e91e73d922a
tree9f7604acd76dcb3beb3739fbab9887a5e9ead68e
parent64613c596ec33c4695c3f7579434d4846a9acb1d
RDS-TCP: Set up MSG_MORE and MSG_SENDPAGE_NOTLAST as appropriate in rds_tcp_

Backport of upstream commit 76b29ef120f5 ("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()

Orabug: 22012202

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