summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authornh145002 <none@none>2007-04-26 09:52:18 -0700
committernh145002 <none@none>2007-04-26 09:52:18 -0700
commita0263d1c07bd7af49aee8594de64ae60a35a1aab (patch)
tree63e58d2c76f406d53f100891af4cd7ccba68720e /usr/src
parentb41ec1e64f218976aac7f88d4e966c36b326a3c2 (diff)
downloadillumos-gate-a0263d1c07bd7af49aee8594de64ae60a35a1aab.tar.gz
6539524 ordinary user can cause SCTP to miscount buffers
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/common/inet/sctp/sctp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/uts/common/inet/sctp/sctp.c b/usr/src/uts/common/inet/sctp/sctp.c
index 83ce0e8ac4..3160e272f4 100644
--- a/usr/src/uts/common/inet/sctp/sctp.c
+++ b/usr/src/uts/common/inet/sctp/sctp.c
@@ -624,6 +624,7 @@ sctp_instream_cleanup(sctp_t *sctp, boolean_t free)
mp = mp1;
}
sctp->sctp_instr[i].istr_msgs = NULL;
+ sctp->sctp_instr[i].istr_nmsgs = 0;
sctp_free_reass((sctp->sctp_instr) + i);
sctp->sctp_instr[i].nextseq = 0;
}