OTOH, There is a kernel BUG,
This is quite an old linux-next kernel, should be fixed by 100811936f89 ("bpf: test_bpf: add init_net to dev for flow_dissector"). Please make sure you have that commit included in your testing:
This patch included in the linux next tree.
I will re-validate on latest code base and let you know.
test_kmod.sh PASS on linux-next.
+ ./test_kmod.sh [ JIT enabled:0 hardened:0 ] [ 25.886816] test_bpf: #0 TAX jited:0 441 435 436 PASS [ 25.889223] test_bpf: #1 TXA jited:0 144 143 143 PASS <trim> [ 105.557950] test_bpf: #377 JNE signed compare, test 7 jited:1 46 PASS [ 105.564354] test_bpf: Summary: 378 PASSED, 0 FAILED, [366/366 JIT'ed] test_bpf: ok [ 105.564354] test_bpf: Summary: 378 PASSED, 0 FAILED
Thank you - Naresh