Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept connections even when syncookies are disabled. #8

Merged
merged 3 commits into from
Jan 8, 2017

Conversation

ia0
Copy link
Contributor

@ia0 ia0 commented Jan 8, 2017

The backlog argument of listen() should not be zero when syncookies are disabled (since Linux 2.2).

A backlog of zero only makes sense when syncookies are enabled.
This unlink call is redundant with the one occurring in tcp_bind,
which is the first thing done by tcp_listen_nonblock, which is called
before the existence of socketfile may impact anything.
@Fruneau Fruneau merged commit 29ae0bd into Fruneau:master Jan 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants