svn commit: r290468 - head/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Fri Nov 6 22:08:07 UTC 2015
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;
}
More information about the svn-src-head
mailing list