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]
Date:	Sun, 15 Feb 2015 12:19:34 -0800
From:	Tom Herbert <therbert@...gle.com>
To:	Daniel Borkmann <daniel@...earbox.net>
Cc:	David Miller <davem@...emloft.net>,
	Linux Netdev List <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next] net: Reflect RX hash for transmit

On Sun, Feb 15, 2015 at 11:59 AM, Daniel Borkmann <daniel@...earbox.net> wrote:
> On 02/15/2015 07:37 PM, Tom Herbert wrote:
>>
>> This patch allows a driver to request that the receive hash it provides
>> to the stack is reflected back in skb->hash for packets transmitted
>> on the associated connection.
>
> [...]
>>
>> +       if (unlikely(skb->reflect_hash && sk->sk_txhash != skb->hash))
>> +               sk->sk_txhash = skb->hash;
>
>
> Is there also an initial user setting this somewhere?

inet_set_txhash and ip6_set_txhash are called for connected sockets.
There is no user API to set these.

Tom
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ