Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3465553imm; Tue, 29 May 2018 07:43:45 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrHyjlc5i8M3dzj81LSsp893NSZXuzJyC4oQnOdrzoAv5ThwqqJ8zbRLjStIg8IV8t2H0MZ X-Received: by 2002:a63:87c8:: with SMTP id i191-v6mr14235447pge.124.1527605025125; Tue, 29 May 2018 07:43:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527605025; cv=none; d=google.com; s=arc-20160816; b=JAAno7+wVH+424nIGE5+pHrXGMStvwnB6UQO3tjmptohQzgl1N0uyIbpDd9W+YgTlr vSJrnSbBk1/3zPgxsG5875e9Ss/l8viIlL28HTZMOKr5N5RTcj2tr+InHIBcZAWtnA2p bH2HwbnhVoaM3lKStdRR7E2YJF3UXSV1w4l6wF7dfkvP2gR7bIfEh/ctZB1g7vd63h6+ ex9/igJinMf1CyNvtEc8w0gt4Yue3lxWLBMWvqnqKZlfRPQmyo0qN49/nxDCcWi2Fp6z TcRdwMDKAl0yKPB5m4fV2a7O770moH2KhVRcZ8IBYVFD/CLM1V8XwcMW8jzN0ofjR6k9 3Djw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=o/sqqpVrY77E96363iWmq0fsa+dszAwUVNSno6iaXeU=; b=nak7mQssQ3QLtsfu6RPS7Jo4KyOUnLfJXjkCXe56IV/GF0MpLPnuZzqjFRZPjPXJn+ 7271DOSCQIHkPawva+dcUOCQ3YeGqio2210N4wxV+ZgU5sp+1h846veQgdIAnCwUCXqx dJVyuRSt92F/62nuWjzK2/lj8X1DgJl+7fNXQnifc2zzs0mnTHQ+E+o1n8HMhLpjwod+ hN+yz/DdMBu2BZ//u06c1pz4V0QN/X2RudHezX9zv/yQRF2oX3u8LI5XJ/TsqzCKjAce DCj8d2CSeRkw4PX80Y80o2v2gqCX1BTUZ/CnS1CZBDAUxwyg8RTBkqMPOEOrK60hsU3b quyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=buaIIsD8; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d31-v6si33029826pld.23.2018.05.29.07.43.31; Tue, 29 May 2018 07:43:45 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=buaIIsD8; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935383AbeE2Ome (ORCPT + 99 others); Tue, 29 May 2018 10:42:34 -0400 Received: from mail-pl0-f67.google.com ([209.85.160.67]:36313 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935324AbeE2Om1 (ORCPT ); Tue, 29 May 2018 10:42:27 -0400 Received: by mail-pl0-f67.google.com with SMTP id v24-v6so9086236plo.3; Tue, 29 May 2018 07:42:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=o/sqqpVrY77E96363iWmq0fsa+dszAwUVNSno6iaXeU=; b=buaIIsD8HQsMjUai9FmEEDeuMT5v/nbP33gLknIqT9uU0reGLg2dC0FfMIH4Hm9EaM TYrVcth70ajYF/FqLdNmeY0hl1MHkKEmudZg+t0gQRMxiAyI4iwrTdSSUXzfMLjse4g7 U0ZU4w1EdlLfw4qMdiElkzdVwP3IZkMomFYRc74GAu/1aMrWoz4/k0jEVWB16yeoXYcH pr7l7YJOC8RmE3v7FFYm5F/wpy7hFQm9t78NBGs3jpXf+BENQzN+/otJkGygWkqbHGoJ m7V6I+CoGgcCFmuXoaLh49g6OW7/Jf4T9TNIGidBx/cZyTh+qQ2k45tivjGfxDXhnY5i sh5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=o/sqqpVrY77E96363iWmq0fsa+dszAwUVNSno6iaXeU=; b=b77Ibt1/dPOVGOBwJ86PPHrt0L2H5R1PgCY6YrQ5sfJOAWOmu9LpaObjiyKiD6JN1T R2uKjWEjTf0JrPq25taasgX9c751x9dBH1IJJj+0+70EQYr14Be9mKJvOOjzWzIvwHZk 41uxEUwoDJyz+C0gOicFqAuWCCR6UEyRYvvKCLOpQKHnPk3+1ikaV0c3sx1C6kLtl1tW 07rD6sZ64D36oASdP7cu2vTVzOTPP+/EC0LfQ4LKjeHos6OB+sdAItABWS0oKxMkFEml 0YGS6d3y25rxkkhkvjwZuYdMc1rqL3SefNVeQI3Jpc7ejbEzyurmZFdm4gwyZROuK1QG pUKA== X-Gm-Message-State: ALKqPwdcI1F+v77UPJDo212ZakEVkjSNylIjCKaSwHg3w2lWi+NieLCP TFn3G0ZYTN19b/cD6naUzcR7w27a X-Received: by 2002:a17:902:d885:: with SMTP id b5-v6mr7136460plz.218.1527604946896; Tue, 29 May 2018 07:42:26 -0700 (PDT) Received: from [192.168.86.235] (c-67-180-167-114.hsd1.ca.comcast.net. [67.180.167.114]) by smtp.gmail.com with ESMTPSA id a7-v6sm50417683pgc.68.2018.05.29.07.42.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 May 2018 07:42:26 -0700 (PDT) Subject: Re: [PATCH v2 net-next] tcp: use data length instead of skb->len in tcp_probe To: Yafang Shao , David Miller Cc: Song Liu , netdev , LKML References: <1527243245-29582-1-git-send-email-laoar.shao@gmail.com> <20180529.101553.694799514284747444.davem@davemloft.net> From: Eric Dumazet Message-ID: <98df6d86-f237-b2d4-9f85-ce6d11c1ac4f@gmail.com> Date: Tue, 29 May 2018 07:42:25 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/29/2018 07:36 AM, Yafang Shao wrote: > On Tue, May 29, 2018 at 10:15 PM, David Miller wrote: >> From: Yafang Shao >> Date: Fri, 25 May 2018 18:14:05 +0800 >> >>> skb->len is meaningless to user. >>> data length could be more helpful, with which we can easily filter out >>> the packet without payload. >>> >>> Signed-off-by: Yafang Shao >> >> Applied, thank you. > > Hi Dave, > > There's an update on this patch. > Pls. see V4. > > And I will send a V5 patch per Eric's suggestion. Ah, if it is merged it might be too late. No big deal.