diff --git a/net/core/filter.c b/net/core/filter.c index f46c0e8eb9ef..d1818bd27f27 100644 --- a/net/core/filter.c +++ b/net/core/filter.c @@ -7906,6 +7906,8 @@ bool bpf_helper_changes_pkt_data(enum bpf_func_id func_id) case BPF_FUNC_xdp_adjust_head: case BPF_FUNC_xdp_adjust_meta: case BPF_FUNC_xdp_adjust_tail: + /* tail-called program could call any of the above */ + case BPF_FUNC_tail_call: return true; default: return false;