aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/bind4_prog.c
diff options
context:
space:
mode:
authorDaniel Borkmann <[email protected]>2020-12-01 15:22:59 +0100
committerDaniel Borkmann <[email protected]>2020-12-01 15:51:19 +0100
commitba0581749fec389e55c9d761f2716f8fcbefced5 (patch)
tree2179cfeb9bec1ba39c25a9fe634be6a75d71ef30 /tools/testing/selftests/bpf/progs/bind4_prog.c
parentdf54228515593d1dc1df538786a94beb690f8cff (diff)
net, xdp, xsk: fix __sk_mark_napi_id_once napi_id error
Stephen reported the following build error for !CONFIG_NET_RX_BUSY_POLL built kernels: In file included from fs/select.c:32: include/net/busy_poll.h: In function 'sk_mark_napi_id_once': include/net/busy_poll.h:150:36: error: 'const struct sk_buff' has no member named 'napi_id' 150 | __sk_mark_napi_id_once_xdp(sk, skb->napi_id); | ^~ Fix it by wrapping a CONFIG_NET_RX_BUSY_POLL around the helpers. Fixes: b02e5a0ebb17 ("xsk: Propagate napi_id to XDP socket Rx path") Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Stephen Rothwell <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Cc: Björn Töpel <[email protected]> Link: https://lore.kernel.org/linux-next/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/bind4_prog.c')
0 files changed, 0 insertions, 0 deletions