Skip to contentSkip to conversation

netfilter: nf_dup_netdev: clear timestamp in forwarding path

PATCH Superseded Pablo Neira Ayuso 1 participant 1 message Oct 21, 2020

Subsystems (2)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Pablo Neira Ayuso

author maintainer
#0 lore raw

PATCH 1/1 netfilter: nf_dup_netdev: clear timestamp in forwarding path

Similar to 7980d2eabde8 ("ipvs: clear skb->tstamp in forwarding path"). fq qdisc requires tstamp to be cleared in forwarding path.

---
 net/netfilter/nf_dup_netdev.c | 1 +
 1 file changed, 1 insertion(+)
net/netfilter/nf_dup_netdev.c +1 -0
index 2b01a151eaa8..a3d2e1e176e3 100644
@@ -19,6 +19,7 @@ static void nf_do_netdev_egress(struct sk_buff *skb, struct net_device *dev)
 		skb_push(skb, skb->mac_len);
 
 	skb->dev = dev;
+	skb->timestamp = 0;
 	dev_queue_xmit(skb);
 }
 
Signature · 1 line
2.20.1