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:~#
With a newer kernel, the last command succeeds (not output):
root@ubuntu1804 hwe:~# uname -a ge1b81391421b+ 6wind-net #1 SMP Mon Sep 21 19:31:31 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux hwe:~# tc filter add dev dummy1 egress matchall action bpf obj ./test.o sec test hwe:~#
Linux ubuntu1804hwe 5.9.0-rc3-
root@ubuntu1804
root@ubuntu1804