On Tue, Jun 20, 2023 at 7:31 PM Kuniyuki Iwashima kuniyu@amazon.com wrote:
Good point. This is based on an assumption that all SO_REUSEPORT sockets have the same score, which is wrong for two corner cases [...]
I did some more digging. I think this was introduced by commit efc6b6f6c311 ("udp: Improve load balancing for SO_REUSEPORT.") which unfortunately ran into a merge conflict. That resulted in Dave Miller moving the bug around in commit a57066b1a019 ("Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net"). Can you take a look and let me know if you think that is correct?
Best Lorenz