[SRU][Xenial][PATCH 0/1] Fix for bpf selftest regression

Kleber Sacilotto de Souza kleber.souza at canonical.com
Fri May 22 11:25:32 UTC 2020


BugLink: https://bugs.launchpad.net/bugs/1879752

[Impact]
Testcase test_bpf of ubuntu_kernel_selftests.net regressed on xenial/linux
4.4.0-180.210.

What the test_bpf testcase does is only loading the test_bpf module, which
reports the following error:

May 20 16:57:21 autopkgtest kernel: [ 88.143826] test_bpf: #250 BPF_MAXINSNS: 
ld_abs+vlan_push/pop
jited:1 ret -12 != 3055 FAIL (1 times)

This is cased by upstream commit 636c2628086e "net: skbuff: Remove errornous
length validation in skb_vlan_pop()" which we applied from stable upstream
v4.4.223.

[Fix]
The fix is upstream commit 0d906b1e8d40 "bpf, test: fix ld_abs + vlan push/pop
stress test" from v4.9 which can cherry-picked to xenial.

[Test case]
Load the test_bpf module, it should return no errors.

[Regression potential]
Low. The fix changes only a bpf test module and was tested to fix the reported
issue.

Daniel Borkmann (1):
  bpf, test: fix ld_abs + vlan push/pop stress test

 lib/test_bpf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.20.1




More information about the kernel-team mailing list