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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 1 Jun 2020 13:23:31 -0700
From:   Alexei Starovoitov <>
To:     Amritha Nambiar <>
Cc:     Network Development <>,
        "David S. Miller" <>,
        Daniel Borkmann <>,
        Alexei Starovoitov <>,
        Martin KaFai Lau <>,
        Sridhar Samudrala <>
Subject: Re: [bpf-next PATCH v3] bpf: Add rx_queue_mapping to bpf_sock

On Tue, May 26, 2020 at 5:34 PM Amritha Nambiar
<> wrote:
> Add "rx_queue_mapping" to bpf_sock. This gives read access for the
> existing field (sk_rx_queue_mapping) of struct sock from bpf_sock.
> Semantics for the bpf_sock rx_queue_mapping access are similar to
> sk_rx_queue_get(), i.e the value NO_QUEUE_MAPPING is not allowed
> and -1 is returned in that case. This is useful for transmit queue
> selection based on the received queue index which is cached in the
> socket in the receive path.
> v3: Addressed review comments to add usecase in patch description,
>     and fixed default value for rx_queue_mapping.
> v2: fixed build error for CONFIG_XPS wrapping, reported by
>     kbuild test robot <>
> Signed-off-by: Amritha Nambiar <>

Applied. Thanks

Powered by blists - more mailing lists