SO_REUSEPORT option is not effective for IPV6 over UDP

Issues related to configuring your network
Post Reply
wahaha
Posts: 1
Joined: 2023/04/25 01:22:01

SO_REUSEPORT option is not effective for IPV6 over UDP

Post by wahaha » 2023/04/25 01:44:53

CentOS Linux release 7.9.2009, the corresponding kernel version is 3.10.0-1160.49.1.el7.x86_64. I have used multiple threads (and tried multiple threads) for UDP packet receiving processing, bound to the same ip address: port and set the SO_REUSEPORT parameter using the socket option, but only one thread or process was receiving packets, and this phenomenon is only for IPV6. I have not experienced this problem using a lower version of CentOS Linux release 7.3.1611 (Core), which corresponds to kernel 3.10.0-514.el7.x86_64

Post Reply