Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751705AbbD0Epb (ORCPT ); Mon, 27 Apr 2015 00:45:31 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:50257 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751081AbbD0Epa (ORCPT ); Mon, 27 Apr 2015 00:45:30 -0400 Date: Mon, 27 Apr 2015 00:45:25 -0400 (EDT) Message-Id: <20150427.004525.2231019124448634522.davem@davemloft.net> To: w@1wt.eu Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, edumazet@google.com Subject: Re: [PATCH 3.10 06/31] tcp: tcp_make_synack() should clear skb->tstamp From: David Miller In-Reply-To: <20150427040222.GA27510@1wt.eu> References: <20150426134209.255099785@linuxfoundation.org> <20150426134209.526092364@linuxfoundation.org> <20150427040222.GA27510@1wt.eu> X-Mailer: Mew version 6.6 on Emacs 24.4 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sun, 26 Apr 2015 21:45:29 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1703 Lines: 45 From: Willy Tarreau Date: Mon, 27 Apr 2015 06:02:22 +0200 > Hi Greg, > > On Sun, Apr 26, 2015 at 03:46:26PM +0200, Greg Kroah-Hartman wrote: >> 3.10-stable review patch. If anyone has any objections, please let me know. >> >> ------------------ >> >> From: Eric Dumazet >> >> [ Upstream commit b50edd7812852d989f2ef09dcfc729690f54a42d ] >> >> I noticed tcpdump was giving funky timestamps for locally >> generated SYNACK messages on loopback interface. >> >> 11:42:46.938990 IP 127.0.0.1.48245 > 127.0.0.2.23850: S >> 945476042:945476042(0) win 43690 >> >> 20:28:58.502209 IP 127.0.0.2.23850 > 127.0.0.1.48245: S >> 3160535375:3160535375(0) ack 945476043 win 43690 > 65495,nop,nop,sackOK,nop,wscale 7> >> >> This is because we need to clear skb->tstamp before >> entering lower stack, otherwise net_timestamp_check() >> does not set skb->tstamp. >> >> Fixes: 7faee5c0d514 ("tcp: remove TCP_SKB_CB(skb)->when") >> Signed-off-by: Eric Dumazet >> Signed-off-by: David S. Miller >> Signed-off-by: Greg Kroah-Hartman >> --- > > Unless I missed something, the commit this patch fixes was not > backported to 3.10 so I think we don't need this one. I have no > idea whether it can have a side effect there though, Eric will > probably know better. Eric Dumazet mentioned this and said it's harmless. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/