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)
commita566e35f1e8b4b3be1e96a804d1cca38b578167c
treed410460426cc960c1e3e2f9af7c2cabe339d8239
parentd3a3aa0c59e83d8c13a758128b10dd459ce0d866
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: 94ff9ebb49a5 ("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