ovs: clear skb->tstamp in forwarding path
authorkaixi.fan <fankaixi.li@bytedance.com>
Wed, 18 Aug 2021 02:22:15 +0000 (10:22 +0800)
committerSasha Levin <sashal@kernel.org>
Thu, 26 Aug 2021 12:35:09 +0000 (08:35 -0400)
commitcf4c1661c40ecf0db2db121999f7adbcb0b65c7f
tree8cfe0a4bad6ec2557c384a45ed7d6821e1cd2559
parent9581895b37fe3a8c83e102cc491c6c7996df2934
ovs: clear skb->tstamp in forwarding path

[ 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 <fankaixi.li@bytedance.com>
Signed-off-by: xiexiaohui <xiexiaohui.xxh@bytedance.com>
Reviewed-by: Cong Wang <cong.wang@bytedance.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/openvswitch/vport.c