Comment 0 for bug 1896504

Revision history for this message
Nicolas Dichtel (nicolas-dichtel) wrote :

[Impact]

tc ebpf program that uses BPF_FUNC_skb_change_head are rejected.

This helper exists since linux v4.10, but it cannot be used until the the upstream commit f65d80dac ("net: bpf: Allow TC programs to call BPF_FUNC_skb_change_head"):
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6f3f65d80dac

[Test Case]

Create a, ebpf program that uses this helper and load it with tc.

[Regression Potential]

The patch is trivial, the potential regressions are low.