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: <1446137527.4431.25.camel@dhcp-176-88.mxp.redhat.com>
Date:	Thu, 29 Oct 2015 17:52:07 +0100
From:	Paolo Abeni <pabeni@...hat.com>
To:	Eric Dumazet <eric.dumazet@...il.com>
Cc:	Peter Nørlund <pch@...bogen.com>,
	netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>,
	Alexey Kuznetsov <kuznet@....inr.ac.ru>,
	James Morris <jmorris@...ei.org>,
	Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
	Patrick McHardy <kaber@...sh.net>
Subject: Re: [PATCH net-next] ipv4: use l4 hash for locally generated
 multipath flows

On Thu, 2015-10-29 at 08:28 -0700, Eric Dumazet wrote:
> On Thu, 2015-10-29 at 16:00 +0100, Paolo Abeni wrote:
> 
> > This patch do not add dissection code: it use the information provided
> > by the available flowi4 structure. Moreover the skb is not available on
> > the calling site (in __ip_route_output_key_hash) and pushing it all the
> > way will require a lot of intrusive changes. Do you think it's the
> > better option ?
> 
> If skb is provided, then we could use its information.

I see your point, but providing an skb to __ip_route_output_key_hash()
is not very viable: it has a lot of indirect callers which are
problematic, i.e.:

__ip_route_output_key()
ip_route_output_flow()
inet_csk_route_req()
tcp_v4_send_synack()  <- skb available here, but created using dst
information.

I think it's better to use a flow-based hash.

Paolo


--
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