]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
tcp: Fix order of tests in tcp_retransmit_skb()
authorDavid S. Miller <davem@davemloft.net>
Tue, 23 Sep 2008 08:29:23 +0000 (01:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Sep 2008 08:29:23 +0000 (01:29 -0700)
commit77d40a0952b16e020ce07c4cf9fb22024448275b
treea93ef6c29c20ae156d5d1a026b00c056f92bc423
parent38ce7c736916293b7ce09cd6a2133894fe2cec52
tcp: Fix order of tests in tcp_retransmit_skb()

tcp_write_queue_next() must only be made if we know that
tcp_skb_is_last() evaluates to false.

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