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

net_accept(): Inherit PPID from listening socket #6

Merged
merged 1 commit into from
Oct 19, 2017

Conversation

laf0rge
Copy link
Contributor

@laf0rge laf0rge commented Oct 18, 2017

When we call accept() on a listening socket, we need to inherit
the sctp PPID from the master socket to the new socket of the
just-accepted connection. Otherwise any sent packets (such as S1AP)
will be sent to PPID=0 rather than the configured PPID (e.g. 18 for
S1AP).

When we call accept() on a listening socket, we need to inherit
the sctp PPID from the master socket to the new socket of the
just-accepted connection.  Otherwise any sent packets (such as S1AP)
will be sent to PPID=0 rather than the configured PPID (e.g. 18 for
S1AP).
@acetcom acetcom merged commit c460386 into open5gs:master Oct 19, 2017
acetcom added a commit that referenced this pull request Sep 21, 2019
Fix installation of all header files
@t1412 t1412 mentioned this pull request Jul 1, 2021
@micjerry micjerry mentioned this pull request Nov 30, 2021
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.

None yet

2 participants