aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctp_input.c
diff options
context:
space:
mode:
authorRandall Stewart <rrs@FreeBSD.org>2007-05-30 17:39:45 +0000
committerRandall Stewart <rrs@FreeBSD.org>2007-05-30 17:39:45 +0000
commit0696e1203e263e97d808da8f7064c68ceb8147c2 (patch)
tree88cefe357ba00902c5e5d6c978baeaf9a7205cf6 /sys/netinet/sctp_input.c
parent4257f25c06b2fa059994ce57988e80803d326f34 (diff)
downloadsrc-0696e1203e263e97d808da8f7064c68ceb8147c2.tar.gz
src-0696e1203e263e97d808da8f7064c68ceb8147c2.zip
Notes
Diffstat (limited to 'sys/netinet/sctp_input.c')
-rw-r--r--sys/netinet/sctp_input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/sctp_input.c b/sys/netinet/sctp_input.c
index bf4b292a35fb..0146811dc2b2 100644
--- a/sys/netinet/sctp_input.c
+++ b/sys/netinet/sctp_input.c
@@ -1377,9 +1377,10 @@ sctp_process_cookie_existing(struct mbuf *m, int iphlen, int offset,
asoc->str_reset_seq_in = asoc->init_seq_number;
asoc->advanced_peer_ack_point = asoc->last_acked_seq;
- if (asoc->mapping_array)
+ if (asoc->mapping_array) {
memset(asoc->mapping_array, 0,
asoc->mapping_array_size);
+ }
SCTP_TCB_UNLOCK(stcb);
SCTP_INP_INFO_WLOCK();
SCTP_INP_WLOCK(stcb->sctp_ep);