With a newer kernel, the last command succeeds (not output):

root@ubuntu1804hwe:~# uname -a
Linux ubuntu1804hwe 5.9.0-rc3-ge1b81391421b+6wind-net #1 SMP Mon Sep 21 
19:31:31 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
root@ubuntu1804hwe:~# tc filter add dev dummy1 egress matchall action bpf obj 
./test.o sec test
root@ubuntu1804hwe:~#

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

Title:
  tc/ebpf: unable to use BPF_FUNC_skb_change_head

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  [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.

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to