[TCP] Vegas: timestamp before clone
authorDavid S. Miller <davem@davemloft.net>
Wed, 7 Dec 2005 00:24:52 +0000 (16:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Dec 2005 00:24:52 +0000 (16:24 -0800)
commitdfb4b9dceb35c567a595ae5e9d035cfda044a103
tree1a76209896509b38458df03593b78ff1abeb0cd9
parent0d7bef600acab393898bd5553e167496587da3e1
[TCP] Vegas: timestamp before clone

We have to store the congestion control timestamp on the SKB before we
clone it, not after.  Else we get no timestamping information at all.

tcp_transmit_skb() has been reworked so that we can do the timestamp
still in one spot, instead of at all the call sites.

Problem discovered, and initial fix, from Tom Young
<tyo@ee.unimelb.edu.au>.

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