David S. Miller
89ebd197eb
[TCP]: Unconditionally clear TCP_NAGLE_PUSH in skb_entail().
...
Intention of this bit is to force pushing of the existing
send queue when TCP_CORK or TCP_NODELAY state changes via
setsockopt().
But it's easy to create a situation where the bit never
clears. For example, if the send queue starts empty:
1) set TCP_NODELAY
2) clear TCP_NODELAY
3) set TCP_CORK
4) do small write()
The current code will leave TCP_NAGLE_PUSH set after that
sequence. Unconditionally clearing the bit when new data
is added via skb_entail() solves the problem.
Signed-off-by: David S. Miller <davem@davemloft.net >
2005-08-23 10:13:06 -07:00
..
2005-07-11 21:13:56 -07:00
2005-08-23 10:10:35 -07:00
2005-07-19 14:01:51 -07:00
2005-06-20 13:18:08 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-23 09:45:18 -07:00
2005-06-20 13:18:08 -07:00
2005-06-20 13:36:39 -07:00
2005-06-18 22:54:12 -07:00
2005-06-18 22:54:12 -07:00
2005-06-18 22:54:12 -07:00
2005-08-05 04:12:48 -07:00
2005-07-19 14:01:51 -07:00
2005-08-18 14:05:44 -07:00
2005-07-08 17:48:38 -07:00
2005-08-23 10:10:15 -07:00
2005-04-16 15:20:36 -07:00
2005-08-08 14:26:52 -07:00
2005-07-30 17:46:44 -07:00
2005-06-28 13:06:23 -07:00
2005-04-16 15:20:36 -07:00
2005-07-12 11:57:52 -07:00
2005-08-06 06:33:15 -07:00
2005-08-18 14:36:59 -07:00
2005-06-28 13:21:12 -07:00
2005-07-30 17:46:44 -07:00
2005-07-30 17:41:59 -07:00
2005-07-27 13:00:04 -07:00
2005-07-27 15:24:42 -07:00
2005-06-13 14:29:06 -07:00
2005-06-13 14:29:06 -07:00
2005-06-13 14:29:06 -07:00
2005-06-13 14:29:06 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-05-05 16:36:49 -07:00
2005-06-18 23:00:34 -07:00
2005-07-11 21:01:42 -07:00
2005-06-18 22:47:21 -07:00
2005-06-23 12:19:55 -07:00
2005-06-23 12:23:25 -07:00
2005-06-23 20:37:36 -07:00
2005-06-23 12:21:28 -07:00
2005-06-23 12:24:58 -07:00
2005-06-23 12:28:11 -07:00
2005-06-23 12:26:34 -07:00
2005-07-08 14:57:23 -07:00
2005-08-08 14:26:52 -07:00
2005-06-23 12:19:55 -07:00
2005-08-23 10:09:27 -07:00
2005-06-23 12:29:07 -07:00
2005-07-08 14:57:23 -07:00
2005-06-23 12:27:19 -07:00
2005-06-23 12:24:09 -07:00
2005-08-23 10:13:06 -07:00
2005-08-08 14:26:52 -07:00
2005-04-16 15:20:36 -07:00
2005-06-20 13:21:43 -07:00
2005-05-03 16:27:10 -07:00
2005-06-20 13:21:43 -07:00
2005-07-19 14:03:34 -07:00