Skip to content

kernel: Fix inet6_sctp:peeloff_opts wrong socket#11007

Open
mhssler wants to merge 1 commit intoerlang:masterfrom
mhssler:inet6-sctp-peeloff
Open

kernel: Fix inet6_sctp:peeloff_opts wrong socket#11007
mhssler wants to merge 1 commit intoerlang:masterfrom
mhssler:inet6-sctp-peeloff

Conversation

@mhssler
Copy link
Copy Markdown
Contributor

@mhssler mhssler commented Apr 13, 2026

peeloff_opts/2 in inet6_sctp called prim_inet:setopts(S, Opts) instead of prim_inet:setopts(NewS, Opts). This caused the peeled-off socket to not inherit options from the parent socket. The IPv4 variant in inet_sctp was correct.

peeloff_opts/2 in inet6_sctp called prim_inet:setopts(S, Opts) instead
of prim_inet:setopts(NewS, Opts). This caused the peeled-off socket to
not inherit options from the parent socket. The IPv4 variant in
inet_sctp was correct.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 13, 2026

CT Test Results

    2 files     74 suites   1h 13m 2s ⏱️
1 796 tests 1 376 ✅ 419 💤 1 ❌
2 048 runs  1 570 ✅ 477 💤 1 ❌

For more details on these failures, see this check.

Results for commit 5529e7d.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

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.

1 participant