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

Colin Ian King colin.king at canonical.com
Thu Oct 8 14:13:21 UTC 2020


On 08/10/2020 15:07, Ian May wrote:
> BugLink: https://bugs.launchpad.net/bugs/1896504
> 
> [Impact]
> 
> tc ebpf programs that uses BPF_FUNC_skb_change_head are rejected.
> 
> [FIX]
> 
> Clean cherry pick from the upstream commit 6f3f65d80dac ("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 an ebpf program that uses this helper and load it with t>
> [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(+)
> 

Small, unintrusive fix, looks fine to me. Thanks Ian.

Acked-by: Colin Ian King <colin.king at canonical.com>



More information about the kernel-team mailing list