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

sctp: fix in sctp_process_event and send_sctp_stream #76

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lxin
Copy link

@lxin lxin commented Jun 7, 2023

This patchset fixes SCTP_ASSOC_CHANGE event process and "-- -P" parameter for SCTP_STREAM.

lxin added 2 commits June 7, 2023 17:38
asoc change state is sac->sac_state, not sac->sac_type,
and also 'break' is needed for case SCTP_ASSOC_CHANGE.

Reported-by: Jianlin Shi <[email protected]>
Fixes: d8d1c0a ("Load netperf-2.4.0/ into trunk")
Signed-off-by: Xin Long <[email protected]>
Like in other places, sctp_stream_request->port should be set in
host endian instead of network endian in send_sctp_stream().

Otherwise, '-- -P' doesn't really work well for SCTP.

Fixes: d8d1c0a ("Load netperf-2.4.0/ into trunk")
Signed-off-by: Xin Long <[email protected]>
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