Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2004767pxb; Mon, 20 Sep 2021 09:59:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcI7hL62QCxDKRxWDntB6yElvCBPNvW/Lz93cnuGzxPjrjWGTgp1uomcFLFs1ra5wfft1o X-Received: by 2002:a05:6e02:1d06:: with SMTP id i6mr17042469ila.299.1632157181760; Mon, 20 Sep 2021 09:59:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632157181; cv=none; d=google.com; s=arc-20160816; b=l3+mw3GziDmNY5rrlZtsu9DDgwyObcwocQwxQnqze34oi526suZYqtmmEXzb4epWcJ f/+V7nw663gP27s/GpVqRjoq1vY48UfLoRqFqcxdsFNZqKdu2xi/YdA2OZoUeBQF6/Mj CnDVfFQ/qdQDdHUR6KzMVhBX5b7bvQn+vAWnE7vapqNy238AvnHdnmdowaEz5+DwUmiP IFz9lyep12/F2HRUVchxZOiLLv289o+rDXVfxcU/jV2/nVHVRoXcqxqFYBIzO7JWaDap dlbfk4y1oAUNQvgMxEu3OXspuqPMfecHsg/Yo3eoM80ETwCaPRStk3xeVMgOSl9CMLY8 DGMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=KEDmOxfNqSruONAjh4gxVGfQT56fiwIrZ/VuCVq3uWo=; b=EMszCr0GnXSI105EygpCGp1Siaz4ySOSJr+GTu2u9tu2wREYZhHzIY8dDUv5qHqvd8 9fPxIefRryVE95sMolFrXHlZOnmmOLOuvCXohAqVdv/VzpF7iUB6f/l4htks5W1+oPCY HllPWx72Y3pczl8VdPjUjK+VfGXsqbdXfRu4LYQnRdLi+KUaExAPZPm+PDkOBAdlrmi8 mJmqvXVCT4cvY00pphlJ6Yu36rY41DeuzdyDzO4OwNX1XWaFSxyZHv1Djx3Rjs/51wyT ymJg9h44gdBcKCqlFYv6NOs1WSSt2RjhWQwNZLvV+mXmWeGDkzsiw1Kj1DLFpKFxqQv3 a5Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=L6zGIciQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id i21si3048978ioj.27.2021.09.20.09.59.29; Mon, 20 Sep 2021 09:59:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=L6zGIciQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S237492AbhITQmb (ORCPT + 99 others); Mon, 20 Sep 2021 12:42:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229561AbhITQm3 (ORCPT ); Mon, 20 Sep 2021 12:42:29 -0400 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D768EC061574; Mon, 20 Sep 2021 09:41:02 -0700 (PDT) Received: by mail-pj1-x1031.google.com with SMTP id dw14so12399370pjb.1; Mon, 20 Sep 2021 09:41:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KEDmOxfNqSruONAjh4gxVGfQT56fiwIrZ/VuCVq3uWo=; b=L6zGIciQNRMq9wW39wDcAe03bwHL2Iri+Yj6wJApKQ6kNbN9+imPRENDyvSsIbYVvz eesurN6wbGCqAwfylVK+dpX6ycBr/akzb8hpExftnuM7gQLukjFSat+VsADPTbQfNQfh vGwcxasbbBV3r/NE8F8NnJ0kLXGdV132608d+8SwqMITGSuFELFEUEfMFpBtnBgp7xF1 AZ5lWHz549iN6FuRjNQdPOvSvPvh1ILeFvhiW/g1GJjUUxoqQDNDbBd+1jKNKY+Um6k/ 7m2+ffxIx/RhyIPN9u4YnMrUaZYF2l1djDXtVamLGjMuUVOmch5tyoeMEOXLyDkgS5CQ tLyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KEDmOxfNqSruONAjh4gxVGfQT56fiwIrZ/VuCVq3uWo=; b=Jsjf0aQeslqdofuNdtuyLdC/MbiZwtthoqUKn+bhtWhFBubropHRmhlVh+47p/sKyC z3wZ4N96CQn3LXOtb0ext/ViI/k+e/8DlSqRs4f0UBFp+5i1IqmBKRGIqY6T1eNFRITy TFuXCFLg5ZmkxT5lVRAqWsySzf9y33bw7x1u3IjhEsncHD+SjbacpvRYMrbMR562wW1e nX+1r50Rxw/tt2WZ+ULNlLTbOIxtswQCiV5aaWg0HoPr4cmCi7qf/pRtahcKx9c1GYpa KDTxelWZXT5SEqEdJWeEqeVNqnHA9qefSOyk7VZOIEgp/tBA5T4RSp6gCYqHDqwoOnM0 Lihw== X-Gm-Message-State: AOAM530q2iVOP/1vY52lrG1rxDqIeBr9QPgfDWl6ey4QT52BP8Qx242r RWg2Zm0reeIh1KJRGboiffOO7seGxTj9f6haYAY= X-Received: by 2002:a17:90b:4d07:: with SMTP id mw7mr37294424pjb.66.1632156062359; Mon, 20 Sep 2021 09:41:02 -0700 (PDT) MIME-Version: 1.0 References: <20210919154337.9243-1-stachecki.tyler@gmail.com> In-Reply-To: From: Cong Wang Date: Mon, 20 Sep 2021 09:40:51 -0700 Message-ID: Subject: Re: [PATCH] ovs: Only clear tstamp when changing namespaces To: Tyler Stachecki Cc: fankaixi.li@bytedance.com, xiexiaohui.xxh@bytedance.com, "Cong Wang ." , Pravin B Shelar , "David S. Miller" , Jakub Kicinski , Linux Kernel Network Developers , dev@openvswitch.org, LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 19, 2021 at 10:44 PM Tyler Stachecki wrote: > Sorry if this is a no-op -- I'm admittedly not familiar with this part > of the tree. I had added this check based on this discussion on the > OVS mailing list: > https://mail.openvswitch.org/pipermail/ovs-discuss/2021-February/050966.html > > The motivation to add it was based on the fact that skb_scrub_packet > is doing it conditionally as well, but you seem to indicate that > skb_scrub_packet itself is already being done somewhere? I mean, skb->tstamp has been cleared when crossing netns, so: 1) you don't need to clear it again for this case; 2) clearly we fix other cases with commit 01634047bf0d, so your patch break it again. Thanks.