Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2901591pxb; Tue, 24 Aug 2021 10:12:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyuBJBhaxENQf/J17apbTySbOMQgi2zVucLDTvj2TrwcbpeeKnp6U/+05ySRV5DWfMK680Y X-Received: by 2002:a05:6e02:1bed:: with SMTP id y13mr28619194ilv.276.1629825135067; Tue, 24 Aug 2021 10:12:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629825135; cv=none; d=google.com; s=arc-20160816; b=v0SPRfP99X2+yzY6th23pSmxA5RrKMlyZ37kgmCtTZSY0jrPCz5cG7yUaA07djInKu yGfxuq1CGLxyoNsX5LQVLvX3PDAUJJV77K+o/BVGPBhoXx01e+VRP6JU8tp5BPM/CjGV zqrfnnwZgdol8eh31rpn2oxyDGlQB3FWWVlwCT2QaxIw3HhTGKDpFR11utlWvI3Pfpec j+Zjt3MwKtvNht9obcV0OfaRx9VHVTEWVpowBHzCI8BqVa7zzV7eGmg3N2JIZ70Wcq41 0X5uCjaSguTfS6Io9Uj/mGHhf0+J78tTEGFahSIQ3eRM53oN+XMXXkCv7dh+BnJu4+1b eHEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4lp5UvU8iHw3aqkZ4jSm00NpJO+iQ6ByidN4mdK27FQ=; b=d9PiMFEzKOeK6IT0k40eV2flB7VgACms61G0HmCfdxOjBMUzULtu95IKQeymIzlhgy +yvXM3SouMF+2KBkbkF1iRUT0NvxKHlz3hH4NEiWISYt/zJHOiJ2SHdEPrN0ZOd++8RD SDHpH5smMpiwcMS4YZEQCiW7w/RVlo44GkItam4f+WPqkmwulOg4o3JdoI7dtzk5qkfq TofeMG/oB1DyQuGX1DGv8yb+Q6zxvPniu5UUESaTsXECDThMU5kT+gFnIon67AP64pC2 dZmtZYu7NxPiijVi95Qq07c20+dwVWZYxJT6fou4CiFhCrAOD8YJVyhKlhTwYtNPoQvU GYKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=outrFbHO; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h11si8734799ior.13.2021.08.24.10.12.02; Tue, 24 Aug 2021 10:12:15 -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=@kernel.org header.s=k20201202 header.b=outrFbHO; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238769AbhHXRMB (ORCPT + 99 others); Tue, 24 Aug 2021 13:12:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:52012 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239328AbhHXRJD (ORCPT ); Tue, 24 Aug 2021 13:09:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 29D4661A3D; Tue, 24 Aug 2021 17:00:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629824415; bh=Nd9FkhKEIIRkYHkdbVLek5Ox9yqkm9V+rP4Ajje0j6o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=outrFbHO83eTS75c6QpJOGvgNbKclqf5Z87qbR2d31h64P+IS8WDqyJiqW6kKbxMY yzy+Kyb1qqf9pR1ff9IDQ917ywe/OoUyPVWCgql3WF5NNvnALG7MkZUBaiS1fRh8CN crCGuN0tzfGgXtzhzZOhA08QBnTHcbyZMPS+w78wKbPNlF7UkacAImicRoaP/eM7QQ LOH0L63aMjUiPZyzTl78QfuMsGcPh0cJJAnI4KGQevEI6/8RTGBY39HodW1fjA3FR4 2jSvNSwW4R5lNNV4b1DV2jAulN8RGRbb9AcqfQb+JCO8xQTVaeGsbYdWDn80AvMEiE WQsIZ9WHiMMyQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: "kaixi.fan" , xiexiaohui , Cong Wang , "David S . Miller" , Sasha Levin Subject: [PATCH 5.10 65/98] ovs: clear skb->tstamp in forwarding path Date: Tue, 24 Aug 2021 12:58:35 -0400 Message-Id: <20210824165908.709932-66-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210824165908.709932-1-sashal@kernel.org> References: <20210824165908.709932-1-sashal@kernel.org> MIME-Version: 1.0 X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.10.61-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-5.10.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 5.10.61-rc1 X-KernelTest-Deadline: 2021-08-26T16:58+00:00 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "kaixi.fan" [ Upstream commit 01634047bf0d5c2d9b7d8095bb4de1663dbeedeb ] fq qdisc requires tstamp to be cleared in the forwarding path. Now ovs doesn't clear skb->tstamp. We encountered a problem with linux version 5.4.56 and ovs version 2.14.1, and packets failed to dequeue from qdisc when fq qdisc was attached to ovs port. Fixes: fb420d5d91c1 ("tcp/fq: move back to CLOCK_MONOTONIC") Signed-off-by: kaixi.fan Signed-off-by: xiexiaohui Reviewed-by: Cong Wang Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- net/openvswitch/vport.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/openvswitch/vport.c b/net/openvswitch/vport.c index 82d801f063b7..1c05d4bef331 100644 --- a/net/openvswitch/vport.c +++ b/net/openvswitch/vport.c @@ -503,6 +503,7 @@ void ovs_vport_send(struct vport *vport, struct sk_buff *skb, u8 mac_proto) } skb->dev = vport->dev; + skb->tstamp = 0; vport->ops->send(skb); return; -- 2.30.2