David S. Miller
55c97f3e99
[TCP]: Fix __tcp_push_pending_frames() 'nonagle' handling.
...
'nonagle' should be passed to the tcp_snd_test() function
as 'TCP_NAGLE_PUSH' if we are checking an SKB not at the
tail of the write_queue. This is because Nagle does not
apply to such frames since we cannot possibly tack more
data onto them.
However, while doing this __tcp_push_pending_frames() makes
all of the packets in the write_queue use this modified
'nonagle' value.
Fix the bug and simplify this function by just calling
tcp_write_xmit() directly if sk_send_head is non-NULL.
As a result, we can now make tcp_data_snd_check() just call
tcp_push_pending_frames() instead of the specialized
__tcp_data_snd_check().
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-07-05 15:19:38 -07:00
..
2005-04-16 15:20:36 -07:00
2005-04-16 15:24:56 -07:00
2005-06-28 13:24:23 -07:00
2005-04-24 20:10:16 -07:00
2005-04-16 15:20:36 -07:00
2005-05-19 12:42:39 -07:00
2005-05-03 22:17:18 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-20 13:31:11 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-19 20:46:37 -07:00
2005-04-16 15:20:36 -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-28 22:45:32 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-21 13:51:04 -07:00
2005-06-21 13:51:04 -07:00
2005-04-16 15:20:36 -07:00
2005-06-20 13:36:39 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-13 15:12:33 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-28 15:46:24 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-18 22:51:12 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-07-05 14:15:09 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-18 22:48:55 -07:00
2005-04-16 15:20:36 -07:00
2005-06-21 18:46:13 -07:00
2005-07-05 14:15:09 -07:00
2005-04-16 15:20:36 -07:00
2005-07-05 15:12:04 -07:00
2005-06-21 18:46:13 -07:00
2005-07-05 15:17:25 -07:00
2005-04-16 15:20:36 -07:00
2005-06-18 22:47:21 -07:00
2005-07-05 15:19:38 -07:00
2005-04-16 15:20:36 -07:00
2005-05-05 16:36:49 -07:00
2005-06-22 22:16:17 -07:00
2005-04-16 15:20:36 -07:00
2005-06-20 13:19:41 -07:00