aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctp_indata.h
diff options
context:
space:
mode:
authorRandall Stewart <rrs@FreeBSD.org>2007-06-15 17:59:57 +0000
committerRandall Stewart <rrs@FreeBSD.org>2007-06-15 17:59:57 +0000
commit458303da651a48d0553faafa0ccbf7e82b8ab456 (patch)
treea0242057ec0c3b373ca3da10937b024b87996162 /sys/netinet/sctp_indata.h
parent02a50a14b3b6428965e4bbf3df74d9d2a3b94b62 (diff)
downloadsrc-458303da651a48d0553faafa0ccbf7e82b8ab456.tar.gz
src-458303da651a48d0553faafa0ccbf7e82b8ab456.zip
- Issue one, new stack reduction left packet_drop handling still
thinking it had the whole chunk. This could cause a crash if a large packet drop came in. Fixed by adjusting the trunc length down to the limit. - Large sacks with lots of segments could also have same issue. Changed duplicate and segment handling to use proper get_m_ptr function to pull each block from mbuf chains.
Notes
Notes: svn path=/head/; revision=170781
Diffstat (limited to 'sys/netinet/sctp_indata.h')
-rw-r--r--sys/netinet/sctp_indata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_indata.h b/sys/netinet/sctp_indata.h
index 3ec0273fa9c0..8a65a20f981e 100644
--- a/sys/netinet/sctp_indata.h
+++ b/sys/netinet/sctp_indata.h
@@ -96,7 +96,7 @@ sctp_express_handle_sack(struct sctp_tcb *stcb, uint32_t cumack,
uint32_t rwnd, int nonce_sum_flag, int *abort_now);
void
-sctp_handle_sack(struct sctp_sack_chunk *, struct sctp_tcb *,
+sctp_handle_sack(struct mbuf *m, int offset, struct sctp_sack_chunk *, struct sctp_tcb *,
struct sctp_nets *, int *, int, uint32_t);
/* draft-ietf-tsvwg-usctp */