From a51aa927fad5ab9ebbb294340935d462f68ee19b Mon Sep 17 00:00:00 2001 From: rrs Date: Wed, 9 Jul 2008 16:45:30 +0000 Subject: 1) Adds the rest of the VIMAGE change macros 2) Adds some __UserSpace__ on some of the common defines that the user space code needs 3) Fixes a bug when we send up data to a user that failed. We need to a) trim off the data chunk headers, if present, and b) make sure the frag bit is communicated properly for the msgs coming off the stream queues... i.e. we see if some of the msg has been taken. Obtained from: jeli contributed the VIMAGE changes on this pass Thanks Julain! --- sys/netinet/sctp_indata.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/netinet/sctp_indata.c') diff --git a/sys/netinet/sctp_indata.c b/sys/netinet/sctp_indata.c index c71a684..8a1d057 100644 --- a/sys/netinet/sctp_indata.c +++ b/sys/netinet/sctp_indata.c @@ -3184,6 +3184,10 @@ sctp_strike_gap_ack_chunks(struct sctp_tcb *stcb, struct sctp_association *asoc, if ((PR_SCTP_TTL_ENABLED(tp1->flags)) && tp1->sent < SCTP_DATAGRAM_ACKED) { /* Is it expired? */ if ( + /* + * TODO sctp_constants.h needs alternative + * time macros when _KERNEL is undefined. + */ (timevalcmp(&now, &tp1->rec.data.timetodrop, >)) ) { /* Yes so drop it */ -- cgit v1.1