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] [day] [month] [year] [list]
Message-Id: <20160704.160856.1726060549877002377.davem@davemloft.net>
Date:	Mon, 04 Jul 2016 16:08:56 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	daniel@...earbox.net
Cc:	alexei.starovoitov@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] bpf: add bpf_get_hash_recalc helper

From: Daniel Borkmann <daniel@...earbox.net>
Date: Sun,  3 Jul 2016 01:28:47 +0200

> If skb_clear_hash() was invoked due to mangling of relevant headers and
> BPF program needs skb->hash later on, we can add a helper to trigger hash
> recalculation via bpf_get_hash_recalc().
> 
> The helper will return the newly retrieved hash directly, but later access
> can also be done via skb context again through skb->hash directly (inline)
> without needing to call the helper once more.
> 
> Signed-off-by: Daniel Borkmann <daniel@...earbox.net>
> Acked-by: Alexei Starovoitov <ast@...nel.org>

Applied.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ