Message ID | 20201201190746.7d3357fb@canb.auug.org.au |
---|---|
State | New |
Headers | show |
Series | linux-next: build failure after merge of the bpf-next tree | expand |
diff --git a/include/net/busy_poll.h b/include/net/busy_poll.h index 45b3e04b99d3..07a88f592e72 100644 --- a/include/net/busy_poll.h +++ b/include/net/busy_poll.h @@ -147,7 +147,9 @@ static inline void __sk_mark_napi_id_once_xdp(struct sock *sk, unsigned int napi static inline void sk_mark_napi_id_once(struct sock *sk, const struct sk_buff *skb) { +#ifdef CONFIG_NET_RX_BUSY_POLL __sk_mark_napi_id_once_xdp(sk, skb->napi_id); +#endif } static inline void sk_mark_napi_id_once_xdp(struct sock *sk,