svn commit: r310220 - stable/11/lib/libc/net
Michael Tuexen
tuexen at FreeBSD.org
Sun Dec 18 13:05:44 UTC 2016
Author: tuexen
Date: Sun Dec 18 13:05:42 2016
New Revision: 310220
URL: https://svnweb.freebsd.org/changeset/base/310220
Log:
MFC r309683:
Fix a bug in sctp_sendmsgx(), where the sid provided by the user
was hot honored.
Modified:
stable/11/lib/libc/net/sctp_sys_calls.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/lib/libc/net/sctp_sys_calls.c
==============================================================================
--- stable/11/lib/libc/net/sctp_sys_calls.c Sun Dec 18 13:04:29 2016 (r310219)
+++ stable/11/lib/libc/net/sctp_sys_calls.c Sun Dec 18 13:05:42 2016 (r310220)
@@ -797,7 +797,7 @@ sctp_sendmsgx(int sd,
memset((void *)&sinfo, 0, sizeof(struct sctp_sndrcvinfo));
sinfo.sinfo_ppid = ppid;
sinfo.sinfo_flags = flags;
- sinfo.sinfo_ssn = stream_no;
+ sinfo.sinfo_stream = stream_no;
sinfo.sinfo_timetolive = timetolive;
sinfo.sinfo_context = context;
return (sctp_sendx(sd, msg, len, addrs, addrcnt, &sinfo, 0));
More information about the svn-src-stable
mailing list