Eric Dumazet
35f9c09fe9
tcp: tcp_sendpages() should call tcp_push() once
...
commit 2f533844242 (tcp: allow splice() to build full TSO packets) added
a regression for splice() calls using SPLICE_F_MORE.
We need to call tcp_flush() at the end of the last page processed in
tcp_sendpages(), or else transmits can be deferred and future sends
stall.
Add a new internal flag, MSG_SENDPAGE_NOTLAST, acting like MSG_MORE, but
with different semantic.
For all sendpage() providers, its a transparent change. Only
sock_sendpage() and tcp_sendpages() can differentiate the two different
flags provided by pipe_to_sendpage()
Reported-by: Tom Herbert <therbert@google.com>
Cc: Nandita Dukkipati <nanditad@google.com>
Cc: Neal Cardwell <ncardwell@google.com>
Cc: Tom Herbert <therbert@google.com>
Cc: Yuchung Cheng <ycheng@google.com>
Cc: H.K. Jerry Chu <hkchu@google.com>
Cc: Maciej Żenczykowski <maze@google.com>
Cc: Mahesh Bandewar <maheshb@google.com>
Cc: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail>com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-05 19:04:27 -04:00
..
2012-03-28 09:58:38 -07:00
2012-03-20 21:29:35 -04:00
2012-03-20 21:29:35 -04:00
2012-03-21 13:36:41 -07:00
2012-03-29 18:12:23 -07:00
2012-03-20 21:29:35 -04:00
2012-03-20 21:29:35 -04:00
2012-03-30 12:44:29 -07:00
2012-03-20 21:29:41 -04:00
2012-03-28 10:01:29 -07:00
2012-03-27 14:55:13 -05:00
2012-03-28 18:30:03 +01:00
2012-03-20 21:29:48 -04:00
2012-03-21 13:36:41 -07:00
2012-03-21 13:36:41 -07:00
2012-03-21 13:36:41 -07:00
2012-03-21 13:54:22 -07:00
2012-03-20 21:29:49 -04:00
2012-03-20 21:29:35 -04:00
2012-03-28 20:04:27 -07:00
2012-03-31 16:03:16 -04:00
2012-03-31 16:03:16 -04:00
2012-03-29 17:00:56 -07:00
2012-03-23 16:58:40 -07:00
2012-03-20 21:29:35 -04:00
2012-03-21 13:36:41 -07:00
2012-03-31 16:03:15 -04:00
2012-03-20 21:29:35 -04:00
2012-03-20 21:29:53 -04:00
2012-03-27 18:29:53 -07:00
2012-03-20 21:29:35 -04:00
2012-03-20 21:29:35 -04:00
2012-03-22 09:04:48 -07:00
2012-03-20 21:29:35 -04:00
2012-03-21 10:15:51 -07:00
2012-03-28 15:58:21 -07:00
2012-03-30 17:31:56 -07:00
2012-03-20 21:29:48 -04:00
2012-03-26 11:48:54 -04:00
2012-03-21 13:36:41 -07:00
2012-03-21 13:36:41 -07:00
2012-03-28 18:30:03 +01:00
2012-03-28 19:02:35 -07:00
2012-03-29 14:53:25 -07:00
2012-03-21 13:36:41 -07:00
2012-03-23 16:58:31 -07:00
2012-03-21 13:36:41 -07:00
2012-03-31 16:03:15 -04:00
2012-03-20 21:29:35 -04:00
2012-03-20 21:29:35 -04:00
2012-03-29 18:12:23 -07:00
2012-03-31 16:03:15 -04:00
2012-03-20 21:29:52 -04:00
2012-03-20 21:29:38 -04:00
2012-03-28 10:00:14 -07:00
2012-03-20 21:29:37 -04:00
2012-03-28 15:58:21 -07:00
2012-03-30 17:31:56 -07:00
2012-03-28 18:05:54 -07:00
2012-03-21 13:36:41 -07:00
2012-03-20 21:29:35 -04:00
2012-03-23 09:27:40 -07:00
2012-03-28 10:00:14 -07:00
2012-03-28 18:30:03 +01:00
2012-03-28 15:58:21 -07:00
2012-03-31 16:03:15 -04:00
2012-03-20 21:29:45 -04:00
2012-02-28 19:31:58 -05:00
2012-02-28 19:31:58 -05:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-29 18:12:23 -07:00
2012-03-20 21:29:46 -04:00
2012-03-28 15:58:21 -07:00
2012-03-23 16:58:31 -07:00
2012-03-20 21:29:46 -04:00
2012-03-20 21:29:51 -04:00
2012-03-20 21:48:21 +08:00
2012-02-28 19:31:58 -05:00
2012-03-23 16:58:31 -07:00
2012-03-28 17:14:35 -07:00
2012-03-24 10:24:31 -07:00
2012-03-29 18:12:23 -07:00
2012-03-28 09:54:34 -07:00
2012-02-28 19:31:58 -05:00
2012-02-23 15:56:21 -08:00
2012-02-28 19:31:58 -05:00
2012-03-28 15:58:21 -07:00
2012-03-29 18:12:23 -07:00
2012-02-19 10:30:52 -08:00
2012-03-20 21:29:32 -04:00
2012-03-29 18:12:23 -07:00
2012-03-24 10:24:31 -07:00
2012-03-28 10:07:27 -07:00
2012-03-20 21:29:51 -04:00
2012-02-28 19:31:58 -05:00
2012-02-07 07:51:30 +01:00
2012-03-21 13:36:41 -07:00
2012-01-10 16:30:51 -08:00
2012-03-24 10:24:31 -07:00
2012-03-20 21:29:38 -04:00
2012-02-28 19:31:58 -05:00
2012-03-31 16:03:17 -04:00
2012-01-08 13:21:22 -08:00
2012-02-19 10:30:52 -08:00
2012-03-23 16:58:31 -07:00
2012-02-28 19:31:58 -05:00
2012-02-28 19:31:58 -05:00
2012-02-28 19:31:58 -05:00
2012-03-29 18:12:23 -07:00
2012-03-24 10:24:31 -07:00
2012-02-24 11:42:50 -08:00
2012-04-05 19:04:27 -04:00
2012-02-28 19:31:58 -05:00
2012-03-24 10:24:31 -07:00
2012-02-28 19:31:58 -05:00
2012-03-24 10:24:31 -07:00
2012-02-28 19:31:58 -05:00
2012-02-28 19:31:58 -05:00
2012-02-28 19:31:58 -05:00