View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0018311||CentOS-7||-OTHER||public||2021-09-23 01:14||2021-09-24 09:24|
|Summary||0018311: SO_REUSEPORT doesn't work in centos-7.5|
|Description||when i use SO_REUSEPORT in centos-7.5, only one thread could handle the packets. same app and test pcaps tested in centos-7.4 is ok.|
i hope someone could help me. thanks.
what's more, SO_REUESADDR is the same.
|Steps To Reproduce||1. use SO_REUSEPORT option to bind a udp socket for ipv6, remember launch multi-thread|
2. send some test packet
3. you will find that even the test packets scale is ok, but only thread could handle the packets
however, every thread could handle the packets is expected
|Tags||No tags attached.|
|same app in centos-7.4 or below is ok!|
detailed centos & depended kernel version as below
Linux CSP-DNS-88 3.10.0-1160.36.2.el7.x86_64 #1 SMP Wed Jul 21 11:57:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
CentOS Linux release 7.9.2009 (Core)
this bug may be kernel's bad, i'm not quite sure. it stuck me for a long time, i'd be grateful if you could help me
i update the kernel from 3.10.0-862.el7.x86_64 to 5.14.7-1.el7.elrepo.x86_64, the bug disappeared.
do you notice this bug and repaired ? if you do,please leave a link to me, thanks