Re: [PATCH bpf] bpf: clear skb->tstamp in bpf_redirect when necessary

From: Eric Dumazet
Date: Fri Dec 13 2019 - 12:50:02 EST




On 12/13/19 7:46 AM, Lorenz Bauer wrote:
> Redirecting a packet from ingress to egress by using bpf_redirect
> breaks if the egress interface has an fq qdisc installed. This is the same
> problem as fixed in 8203e2d8 ("net: clear skb->tstamp in forwarding paths").
>
> Clear skb->tstamp when redirecting into the egress path.
>
> Fixes: 80b14de ("net: Add a new socket option for a future transmit time.")

Please use 12 digits sha1


> Fixes: fb420d5 ("tcp/fq: move back to CLOCK_MONOTONIC")
> Signed-off-by: Lorenz Bauer <lmb@xxxxxxxxxxxxxx>

Thanks for fixing this !