google / google/gvisor

SO_REUSEPORT not properly restored

Open
#873 9 comments 0 reactions 0 assignees View on GitHub
area: save/restore priority: p2 revived type: bug
Dominant language
Go
Stars
19.3k
Forks
2k
Avg merge
3d 5h
Merged PRs (30d)
264

Description

SO_REUSEPORT is implemented with a middleware endpoint in the transport demuxing path called multiPortEndpoint. It is currently regenerated on restore with a different randomly generated seed. In addition, the endpoints may not be re-registered with it in the same order. This will cause the behavior of SO_REUSEPORT to change across a S/R event in a user visible and incorrect way.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.