diff options
author | kaixi.fan <fankaixi.li@bytedance.com> | 2021-08-18 05:22:15 +0300 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2021-08-26 15:35:50 +0300 |
commit | eee84eafc3bb78d575b482abe7aaa281cb6bf84f (patch) | |
tree | 345ddd55ff51d6aa53dd7284ffe697e757911f26 /net/openvswitch | |
parent | 47a1161dacb1eb4a98be92e16e75d64f48f3ca49 (diff) | |
download | linux-eee84eafc3bb78d575b482abe7aaa281cb6bf84f.tar.xz |
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>
Diffstat (limited to 'net/openvswitch')
-rw-r--r-- | net/openvswitch/vport.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |