diff options
author | Craig Gallek <kraig@google.com> | 2016-04-28 19:24:32 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-01 19:36:54 -0400 |
commit | 90e5d0db2b221f0cbbb91e9e61fdb7dbb9e1afc2 (patch) | |
tree | be89eb4366ed684bf7db2fbb7c1ea8521e7c985a /lib/idr.c | |
parent | 018f8258582381bcce484312f0e9ec2970d0383e (diff) | |
download | op-kernel-dev-90e5d0db2b221f0cbbb91e9e61fdb7dbb9e1afc2.zip op-kernel-dev-90e5d0db2b221f0cbbb91e9e61fdb7dbb9e1afc2.tar.gz |
soreuseport: Fix TCP listener hash collision
I forgot to include a check for listener port equality when deciding
if two sockets should belong to the same reuseport group. This was
not caught previously because it's only necessary when two listening
sockets for the same user happen to hash to the same listener bucket.
The same error does not exist in the UDP path.
Fixes: c125e80b8868("soreuseport: fast reuseport TCP socket selection")
Signed-off-by: Craig Gallek <kraig@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions