aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2014-03-05 22:08:38 +0000
committerDavid S. Miller <[email protected]>2014-03-07 19:32:57 +0000
commit219626924222b6b41bf2264896b34a6abaaeecf0 (patch)
treeda1dc3b24f282e705f32e317908afae415e506fc /drivers/net/xen-netback/interface.c
parentbonding: fix const in options processing (diff)
downloadkernel-219626924222b6b41bf2264896b34a6abaaeecf0.tar.gz
kernel-219626924222b6b41bf2264896b34a6abaaeecf0.zip
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 <[email protected]> Reported-by: Willem de Bruijn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions