]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'bpf-selftest-endianess-fixes'
authorDaniel Borkmann <daniel@iogearbox.net>
Tue, 3 Sep 2019 19:01:53 +0000 (21:01 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 3 Sep 2019 19:01:53 +0000 (21:01 +0200)
commit293c59ee9d0e6f6f34dab126765abe4f99e254b9
treec3b394a6a1d22385770e2db21bd0e5f07f5b0570
parent20aab4c441c20e7074d145207d80d64f8f2215bf
parent1312a329c7aeef0909f28a58094ad12affa81d7b
Merge branch 'bpf-selftest-endianess-fixes'

Ilya Leoshkevich says:

====================
Patch 1 is a preparatory commit, which introduces 64-bit endianness
conversion functions.

Patch 2 fixes reading the wrong byte of an int.

Patch 3 improves error reporting.

Patch 4 uses the new conversion functions to fix wrong endianness of
immediates.

v1->v2: Use bpf_ntohl and bpf_be64_to_cpu, drop __bpf_le64_to_cpu.
v2->v3: Split bpf_be64_to_cpu introduction into a separate patch.
        Use the new functions in test_lwt_seg6local.c and
test_seg6_loop.c.
v3->v4: Improved commit message, split fixes that are not related to
        each other into separate patches.
====================

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>