From: Eric Dumazet Date: Wed, 5 Mar 2014 22:08:38 +0000 (-0800) Subject: tcp: do not leak non zero tstamp in output packets X-Git-Tag: v3.15-rc1~113^2~212 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=219626924222b6b41bf2264896b34a6abaaeecf0;p=pandora-kernel.git tcp: do not leak non zero tstamp in output packets Usage of skb->tstamp should remain private to TCP stack (only set on packets on write queue, not on cloned ones) Otherwise, packets given to loopback interface with a non null tstamp can confuse netif_rx() / net_timestamp_check() Other possibility would be to clear tstamp in loopback_xmit(), as done in skb_scrub_packet() Fixes: 740b0f1841f6 ("tcp: switch rtt estimations to usec resolution") Signed-off-by: Eric Dumazet Reported-by: Willem de Bruijn Signed-off-by: David S. Miller --- Reading git-diff-tree failed