[PATCH net-next 2/7] inet: create IPv6-equivalent inet_hash function

2016-02-09 Thread Craig Gallek
From: Craig Gallek In order to support fast lookups for TCP sockets with SO_REUSEPORT, the function that adds sockets to the listening hash set needs to be able to check receive address equality. Since this equality check is different for IPv4 and IPv6, we will need two different socket hashing

Re: [PATCH net-next 2/7] inet: create IPv6-equivalent inet_hash function

2016-02-04 Thread Eric Dumazet
On Thu, 2016-02-04 at 10:35 -0500, Craig Gallek wrote: > From: Craig Gallek > > In order to support fast lookups for TCP sockets with SO_REUSEPORT, > the function that adds sockets to the listening hash set needs > to be able to check receive address equality. Since this equality > check is diff

[PATCH net-next 2/7] inet: create IPv6-equivalent inet_hash function

2016-02-04 Thread Craig Gallek
From: Craig Gallek In order to support fast lookups for TCP sockets with SO_REUSEPORT, the function that adds sockets to the listening hash set needs to be able to check receive address equality. Since this equality check is different for IPv4 and IPv6, we will need two different socket hashing

[PATCH net-next 2/7] inet: create IPv6-equivalent inet_hash function

2016-02-04 Thread Craig Gallek
From: Craig Gallek In order to support fast lookups for TCP sockets with SO_REUSEPORT, the function that adds sockets to the listening hash set needs to be able to check receive address equality. Since this equality check is different for IPv4 and IPv6, we will need two different socket hashing