On Thu, 2016-02-04 at 10:35 -0500, Craig Gallek wrote: > From: Craig Gallek <kr...@google.com> > > 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 functions. > > This patch adds inet6_hash identical to the existing inet_hash function > and updates the appropriate references. A following patch will > differentiate the two by passing different comparison functions to > __inet_hash. > > Signed-off-by: Craig Gallek <kr...@google.com>
Acked-by: Eric Dumazet <eduma...@google.com>