summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorkaixi.fan <fankaixi.li@bytedance.com>2021-08-18 04:22:15 +0200
committerDavid S. Miller <davem@davemloft.net>2021-08-18 12:31:13 +0200
commit01634047bf0d5c2d9b7d8095bb4de1663dbeedeb (patch)
tree65b39bf82258b35d0c71634430b67b26002a7f22 /net
parentMerge branch 'mdio-fixes' (diff)
downloadlinux-01634047bf0d5c2d9b7d8095bb4de1663dbeedeb.tar.xz
linux-01634047bf0d5c2d9b7d8095bb4de1663dbeedeb.zip
ovs: clear skb->tstamp in forwarding path
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>
Diffstat (limited to 'net')
-rw-r--r--net/openvswitch/vport.c1
1 files changed, 1 insertions, 0 deletions
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;