]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - lib/test_bpf.c
bpf, test: fix ld_abs + vlan push/pop stress test
[mirror_ubuntu-artful-kernel.git] / lib / test_bpf.c
index 94346b4d8984c5cfa88743be66b1880b929e4a60..0362da0b66c352e4cb3eb96748fe2db4955d6b11 100644 (file)
@@ -4831,7 +4831,7 @@ static struct bpf_test tests[] = {
                { },
                INTERNAL,
                { 0x34 },
-               { { 1, 0xbef } },
+               { { ETH_HLEN, 0xbef } },
                .fill_helper = bpf_fill_ld_abs_vlan_push_pop,
        },
        /*