]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1f9783a044ed23de465455c8f8db653926e7a554
treefeccf26a3c9fa86e110b4b7a6b35cd9413c4d5df
parentc67564f735134761f5745fdd7d50e442e21033ec
RDS-TCP: Set up MSG_MORE and MSG_SENDPAGE_NOTLAST as appropriate in rds_tcp_xmit

For the same reasons as commit 7e19576dc460 ("tcp: allow splice() to
build full TSO packets") and commit 63ac36c1c514 ("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