Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2892964pxb; Tue, 24 Aug 2021 10:01:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHnbmzrVUWzAt9ZNFaNsIeItE9ZRNJeuFfOeWKTte767O6sWtwGE56T1ldBw9WE22BEpVj X-Received: by 2002:a05:6638:3898:: with SMTP id b24mr30599886jav.126.1629824498285; Tue, 24 Aug 2021 10:01:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629824498; cv=none; d=google.com; s=arc-20160816; b=wM6TbOZKk7BbJ74e+gZVzjTRNHki5axPH6mSMzUMOPPGIo6rJLig2ZcEwQodjAWKJE aQ9AMtihyap1mIP5jTdgySAUthxLkJZqtdNtKwt7D5HxOha9xqbNkBr7Sg+STqaFBMw+ RZI+cVtKJwA3zWsSGYYSRTGz8v3OkR9iVqS7taN4v14BzNJrgIcd9ssne/Hc+8/b4J0w mzz2NHKLnBpevWMqnae4sFOuVbj6hCW85yyy9Eb7eHgc7k5XBDxMLaygO3KT2JtiNr1Q 5r51JU0HfduVJNBaLjBY4qjGeHPCB8INIgmSHGWYCd0blNN9v1sGjCMZ1fVXotgiYA7u KGdA== 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=HkiPhS4NgwzICDqHGyqjHLaSyD9sLa6nBNQ6Zi2fNU0=; b=BflrJAAbR4qxbYz/XjZVZhzKZnXmA9p5fMw1COshc4coU/vDQ4NnyuXT3qPOQ7+D4x pjnlvX1IuwuToPIoL7DC2TSTP8f3Xcdpc7PPaZSMxBpIh75oUsLfE42m8z+Q61mg76cE WQ2YRg71oStuK5ALyHAXEw1qFq9LoYrQaKe9PBgPppmraQVduPqHY+oYxrXLQMBkrGlg TBS/VquiM0Pogc8LIvguvYeiYMfsJT2CwaKBeoiL7I5MOynK6iXc+tzTTmrW69PDR6XB uyb+tXAAVdEWDbz7TOqFtdsTmJ/dy5QuEjlA09sOGXsugxpxbFlxG3vBsr35OJ8yfzff wh/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oBvsXSvn; 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 x6si6420103ilv.42.2021.08.24.10.01.24; Tue, 24 Aug 2021 10:01:38 -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=oBvsXSvn; 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 S238558AbhHXRBW (ORCPT + 99 others); Tue, 24 Aug 2021 13:01:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:39040 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235115AbhHXQ6X (ORCPT ); Tue, 24 Aug 2021 12:58:23 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D537861409; Tue, 24 Aug 2021 16:57:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629824235; bh=PbXbYZZIft3+AyzZCLRk2xr1pZ7SS6ZFFPbutBko77w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oBvsXSvn20xAEFnVoLt407v1kAIOFqLhSN7C1jBOn5yYmD4xH4+lTdeVf/DPADCuJ wACJttnnqop/m7X5tB+2kjLs4ySlZ4WGdbPPMt0kTjZbAdqSAK8BUltypeI/y/BJrH kV5Wd/l5G5EhHJ/S1YedEQ14cUiFZNana9r0asooRe4nqnQd/70ij7H9L4kdyFJ9zB K9Fv4DnhXlM82b1vvobH2cAHt7BOzmjzL7DGsYcboVOOFQGkl59rjQz6gIjfIbRsfI rO2ICnw3WwNqjE92BYCdHjPNCXp69aAnzMQ1ls+MVE8FGuVZqaDFrC36IArIfPFYiC pVOSSOKPXXkpA== 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.13 068/127] ovs: clear skb->tstamp in forwarding path Date: Tue, 24 Aug 2021 12:55:08 -0400 Message-Id: <20210824165607.709387-69-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210824165607.709387-1-sashal@kernel.org> References: <20210824165607.709387-1-sashal@kernel.org> MIME-Version: 1.0 X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.13.13-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-5.13.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 5.13.13-rc1 X-KernelTest-Deadline: 2021-08-26T16:55+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 88deb5b41429..cf2ce5812489 100644 --- a/net/openvswitch/vport.c +++ b/net/openvswitch/vport.c @@ -507,6 +507,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