Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1499365imm; Wed, 26 Sep 2018 20:07:59 -0700 (PDT) X-Google-Smtp-Source: ACcGV60q4XuM0WZOu9i9l16YvcLzA9GyXQjhL47R7xRAUc86AOYioyAHZ6I12Ny4ZP2VmnVjPROo X-Received: by 2002:a17:902:a40a:: with SMTP id p10-v6mr8814281plq.118.1538017679868; Wed, 26 Sep 2018 20:07:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538017679; cv=none; d=google.com; s=arc-20160816; b=MKxbvhE9oucvUBPoeVJ5eV8g+SwCUkXUDa97uTELdEpinHXVayCqFXnR3pnqYRoHEr 0jPIl8cFnsSKrtZISsRPsb4OG5j9wtgKCm6xBI+4qyApuJ2U1CIl+qXUBRdQ/+l7TOOd AV8BQt+Uv9p+KzvbU7Kv4NfPxR4EVZjt4DKLwBQtK1VoLsVEE1uPTczVDYKkgdnhtDWb 9J5W4FCdZXpSClg7tqgAQMEumwM4oFBdXDXzmQ8KtXd88TSAVyZz9zh+1lXQST7yZOnd 4VtYXK6pRPyhGX39cNOPtLqVTVm+YbgYAP/G+RT5h9bZ3nvnd7VV7KQalDEJlfDqVx5T a65Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=kypemGOkgBW8M47CxG8x99qncvcu3fZH4JNFyQ8iMf4=; b=AGyJ0gvvV2pQggW4obefmJuMLAONFfpv3qd5qMbHXO0uHM7BJ+AfL+mWD+DbjKf9PS Lvshv3eM3FVb7EsJvBrRjIDTzB0Wq+uSvCkWL2qhvQSiCy30IZa8z6kJVNkJKKd0BcXz j4rD4NCkzF9RHqFooOlQke2Vjo1AxznC5XAcrupgdRih5U1lTm3ZQqMWJNHtX9mSijaP /zLmAGtcV9MToENTnf+28jsZ4ye9cNj0133BM00cVMFvnnZ2d8xSMAyMJEwx3ax4EeL1 edD5qoS6nq7ILRxO9t4LKEPZlk3VjoZx042flJYFMw6iSiBGMN1l23uwF/dZzgnzYkZV i9Nw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d31-v6si688499pla.256.2018.09.26.20.07.42; Wed, 26 Sep 2018 20:07:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727295AbeI0JXj (ORCPT + 99 others); Thu, 27 Sep 2018 05:23:39 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:37416 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726953AbeI0JXj (ORCPT ); Thu, 27 Sep 2018 05:23:39 -0400 Received: from localhost (74-93-104-98-Washington.hfc.comcastbusiness.net [74.93.104.98]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 38DCD1456FE19; Wed, 26 Sep 2018 20:07:37 -0700 (PDT) Date: Wed, 26 Sep 2018 20:07:36 -0700 (PDT) Message-Id: <20180926.200736.587069163330540674.davem@davemloft.net> To: laoar.shao@gmail.com Cc: edumazet@google.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 net-next] tcp: expose sk_state in tcp_retransmit_skb tracepoint From: David Miller In-Reply-To: <1537793849-32396-1-git-send-email-laoar.shao@gmail.com> References: <1537793849-32396-1-git-send-email-laoar.shao@gmail.com> X-Mailer: Mew version 6.7 on Emacs 25.3 / 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]); Wed, 26 Sep 2018 20:07:37 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yafang Shao Date: Mon, 24 Sep 2018 20:57:29 +0800 > After sk_state exposed, we can get in which state this retransmission > occurs. That could give us more detail for dignostic. > For example, if this retransmission occurs in SYN_SENT state, it may > also indicates that the syn packet may be dropped on the remote peer due > to syn backlog queue full and then we could check the remote peer. > > BTW,SYNACK retransmission is traced in tcp_retransmit_synack tracepoint. > > Signed-off-by: Yafang Shao Applied.