tcp: Fix queue traversal in tcp_use_frto().
authorDavid S. Miller <davem@davemloft.net>
Tue, 23 Sep 2008 09:51:41 +0000 (02:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Sep 2008 09:51:41 +0000 (02:51 -0700)
commit28e3487b7dd8a9791baac924bc887140ec747bed
treeb32bacf3b9374cf3e7108f5489aebb79b23aab92
parent77d40a0952b16e020ce07c4cf9fb22024448275b
tcp: Fix queue traversal in tcp_use_frto().

We must check tcp_skb_is_last() before doing a tcp_write_queue_next().

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c