svn commit: r309683 - head/lib/libc/net
Michael Tuexen
tuexen at FreeBSD.org
Wed Dec 7 21:24:51 UTC 2016
Author: tuexen
Date: Wed Dec 7 21:24:49 2016
New Revision: 309683
URL: https://svnweb.freebsd.org/changeset/base/309683
Log:
Fix a bug in sctp_sendmsgx(), where the sid provided by the user
was hot honored.
MFC after: 3 days
Modified:
head/lib/libc/net/sctp_sys_calls.c
Modified: head/lib/libc/net/sctp_sys_calls.c
==============================================================================
--- head/lib/libc/net/sctp_sys_calls.c Wed Dec 7 19:30:59 2016 (r309682)
+++ head/lib/libc/net/sctp_sys_calls.c Wed Dec 7 21:24:49 2016 (r309683)
@@ -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-all
mailing list