Public bug reported:

[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 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 a, ebpf program that uses this helper and load it with tc.

[Regression Potential]

The patch is trivial, the potential regressions are low.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

- 
  [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"):
+ This helper exists since linux v4.10, but it cannot be used until the 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 a, ebpf program that uses this helper and load it with tc.
  
  [Regression Potential]
  
  The patch is trivial, the potential regressions are low.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1896504

Title:
  tc/ebpf: unable to use BPF_FUNC_skb_change_head

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1896504/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to