Date: Sat, 16 Jan 2016 18:08:05 +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-10@freebsd.org Subject: svn commit: r294181 - stable/10/sys/netinet Message-ID: <201601161808.u0GI85AL056650@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tuexen Date: Sat Jan 16 18:08:05 2016 New Revision: 294181 URL: https://svnweb.freebsd.org/changeset/base/294181 Log: MFC r290468: Use the correct length. The wrong one was too large. Modified: stable/10/sys/netinet/sctp_indata.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/netinet/sctp_indata.c ============================================================================== --- stable/10/sys/netinet/sctp_indata.c Sat Jan 16 18:05:24 2016 (r294180) +++ stable/10/sys/netinet/sctp_indata.c Sat Jan 16 18:08:05 2016 (r294181) @@ -225,7 +225,7 @@ sctp_build_ctl_nchunk(struct sctp_inpcb if (sctp_is_feature_on(inp, SCTP_PCB_FLAGS_RECVNXTINFO) && (seinfo->serinfo_next_flags & SCTP_NEXT_MSG_AVAIL)) { provide_nxt = 1; - len += CMSG_SPACE(sizeof(struct sctp_rcvinfo)); + len += CMSG_SPACE(sizeof(struct sctp_nxtinfo)); } else { provide_nxt = 0; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601161808.u0GI85AL056650>