Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Dec 2016 13:05:43 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r310220 - stable/11/lib/libc/net
Message-ID:  <201612181305.uBID5hAu074382@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612181305.uBID5hAu074382>