]> git.baikalelectronics.ru Git - kernel.git/commit
libbpf: Don't use kernel-side u32 type in xsk.c
authorAndrii Nakryiko <andriin@fb.com>
Tue, 29 Oct 2019 05:59:53 +0000 (22:59 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 29 Oct 2019 13:38:12 +0000 (06:38 -0700)
commit19980710c499e225cb22f6f9520540ce59e84c1b
treed410460426cc960c1e3e2f9af7c2cabe339d8239
parentb24aa21ec14079f01a928df50314c26e733fa5b2
libbpf: Don't use kernel-side u32 type in xsk.c

u32 is a kernel-side typedef. User-space library is supposed to use __u32.
This breaks Github's projection of libbpf. Do u32 -> __u32 fix.

Fixes: b2d432e220b4 ("libbpf: Fix compatibility for kernels without need_wakeup")
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Björn Töpel <bjorn.topel@intel.com>
Cc: Magnus Karlsson <magnus.karlsson@intel.com>
Link: https://lore.kernel.org/bpf/20191029055953.2461336-1-andriin@fb.com
tools/lib/bpf/xsk.c