[SRU][F][PATCH 0/1] tc/ebpf: unable to use BPF_FUNC_skb_change_head

Ian May ian.may at canonical.com
Thu Oct 8 14:07:34 UTC 2020

BugLink: https://bugs.launchpad.net/bugs/1896504


tc ebpf programs that uses BPF_FUNC_skb_change_head are rejected.


Clean cherry pick from the upstream commit 6f3f65d80dac ("net: bpf: Allow TC programs to call BPF_FUNC_skb_change_head"):

[Test Case]

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

[Regression Potential]

This patch is enabling an additional feature of ebpf, the potential regressions should be low.

Lorenzo Colitti (1):
  net: bpf: Allow TC programs to call BPF_FUNC_skb_change_head

 net/core/filter.c | 2 ++
 1 file changed, 2 insertions(+)


More information about the kernel-team mailing list