lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180629.220639.1360385545962536071.davem@davemloft.net>
Date:   Fri, 29 Jun 2018 22:06:39 +0900 (KST)
From:   David Miller <davem@...emloft.net>
To:     amritha.nambiar@...el.com
Cc:     netdev@...r.kernel.org, alexander.h.duyck@...el.com,
        willemdebruijn.kernel@...il.com, sridhar.samudrala@...el.com,
        alexander.duyck@...il.com, edumazet@...gle.com,
        hannes@...essinduktion.org, tom@...bertland.com, tom@...ntonium.net
Subject: Re: [net-next PATCH v5 4/7] net: Record receive queue number for a
 connection

From: Amritha Nambiar <amritha.nambiar@...el.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.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ