Date: Fri, 6 Nov 2015 22:08:06 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290468 - head/sys/netinet Message-ID: <201511062208.tA6M86Al074267@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tuexen Date: Fri Nov 6 22:08:05 2015 New Revision: 290468 URL: https://svnweb.freebsd.org/changeset/base/290468 Log: Use the correct length. The wrong one was too large. MFC after: 3 days Modified: head/sys/netinet/sctp_indata.c Modified: head/sys/netinet/sctp_indata.c ============================================================================== --- head/sys/netinet/sctp_indata.c Fri Nov 6 21:49:17 2015 (r290467) +++ head/sys/netinet/sctp_indata.c Fri Nov 6 22:08:05 2015 (r290468) @@ -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?201511062208.tA6M86Al074267>