summaryrefslogtreecommitdiffstats
path: root/include/asm-m68k/poll.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2005-07-06 00:19:38 +0200
committerDavid S. Miller <davem@davemloft.net>2005-07-06 00:19:38 +0200
commit55c97f3e990c1ff63957c64f6cb10711a09fd70e (patch)
tree003c5ca17005c8b22cc4cbe0b10721fc4ea676fd /include/asm-m68k/poll.h
parent[TCP]: Fix redundant calculations of tcp_current_mss() (diff)
downloadlinux-55c97f3e990c1ff63957c64f6cb10711a09fd70e.tar.xz
linux-55c97f3e990c1ff63957c64f6cb10711a09fd70e.zip
[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>
Diffstat (limited to 'include/asm-m68k/poll.h')
0 files changed, 0 insertions, 0 deletions