Skip to content

Commit 0163404

Browse files
kaixi.fandavem330
authored andcommitted
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: fb420d5 ("tcp/fq: move back to CLOCK_MONOTONIC") Signed-off-by: kaixi.fan <[email protected]> Signed-off-by: xiexiaohui <[email protected]> Reviewed-by: Cong Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 97712f8 commit 0163404

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/openvswitch/vport.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,7 @@ void ovs_vport_send(struct vport *vport, struct sk_buff *skb, u8 mac_proto)
507507
}
508508

509509
skb->dev = vport->dev;
510+
skb->tstamp = 0;
510511
vport->ops->send(skb);
511512
return;
512513

0 commit comments

Comments
 (0)