Lorenz Bauer 5133498f4a bpf: Clear skb->tstamp in bpf_redirect when necessary
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 'commit 8203e2d844d3 ("net: clear skb->tstamp in forwarding paths")

Clear skb->tstamp when redirecting into the egress path.

Fixes: 80b14dee2bea ("net: Add a new socket option for a future transmit time.")
Fixes: fb420d5d91c1 ("tcp/fq: move back to CLOCK_MONOTONIC")
Signed-off-by: Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/bpf/20191213180817.2510-1-lmb@cloudflare.com
2019-12-13 15:21:48 -08:00
..
2019-09-27 15:10:34 -07:00
2019-11-18 19:32:59 -08:00
2019-07-12 16:03:16 -07:00
2019-09-26 08:56:17 +02:00
2019-11-27 11:06:20 -08:00
2019-11-26 14:40:13 -08:00
2019-11-08 11:36:48 -08:00
2019-12-09 10:28:43 -08:00
2019-11-24 16:58:44 -08:00