From: Amritha Nambiar <amritha.namb...@intel.com> Date: Wed, 27 Jun 2018 15:31:34 -0700
> @@ -1702,6 +1709,13 @@ static inline int sk_tx_queue_get(const struct sock > *sk) > return -1; > } > > +static inline void sk_rx_queue_set(struct sock *sk, const struct sk_buff > *skb) > +{ > +#ifdef CONFIG_XPS > + sk->sk_rx_queue_mapping = skb_get_rx_queue(skb); > +#endif > +} Maybe add a >= NO_QUEUE_MAPPING check like you did for skc_tx_queue_mapping.