Comment 0 for bug 1868243

Revision history for this message
Po-Hsu Lin (cypressyew) wrote : ld_abs+vlan_push/pop from ubuntu_bpf_jit will fail on X s390x

Issue separated from bug 1768452
The ubuntu_bpf_jit will report the following failure on Xenial s390x:
  * test_bpf: #250 BPF_MAXINSNS: ld_abs+vlan_push/pop FAIL to select_runtime err=-524

This test has been moved to the bpf in kselftests:
https://github.com/torvalds/linux/commit/93731ef086cee90af594e62874bb98ae6d6eee91

"Remove all eBPF tests involving LD_ABS/LD_IND from test_bpf.ko. Reason
is that the eBPF tests from test_bpf module do not go via BPF verifier
and therefore any instruction rewrites from verifier cannot take place.

Therefore, move them into test_verifier which runs out of user space,
so that verfier can rewrite LD_ABS/LD_IND internally in upcoming patches.
It will have the same effect since runtime tests are also performed from
there. This also allows to finally unexport bpf_skb_vlan_{push,pop}_proto
and keep it internal to core kernel."