diff options
| author | Randall Stewart <rrs@FreeBSD.org> | 2008-08-27 11:31:00 +0000 |
|---|---|---|
| committer | Randall Stewart <rrs@FreeBSD.org> | 2008-08-27 11:31:00 +0000 |
| commit | 5e388774ec4d614b83bda053f7104a01cedecc88 (patch) | |
| tree | 030615705ecf085cd813dd848453a722610e2ea2 /sys/netinet/sctp_input.c | |
| parent | b5430e42016ccba186e839bc658565137a00f937 (diff) | |
Notes
Diffstat (limited to 'sys/netinet/sctp_input.c')
| -rw-r--r-- | sys/netinet/sctp_input.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/netinet/sctp_input.c b/sys/netinet/sctp_input.c index 160245980004..4c515f663419 100644 --- a/sys/netinet/sctp_input.c +++ b/sys/netinet/sctp_input.c @@ -102,7 +102,15 @@ sctp_handle_init(struct mbuf *m, int iphlen, int offset, struct sctphdr *sh, inp->sctp_socket->so_qlimit); /* * FIX ME ?? What about TCP model and we have a - * match/restart case? + * match/restart case? Actually no fix is needed. the lookup + * will always find the existing assoc so stcb would not be + * NULL. It may be questionable to do this since we COULD + * just send back the INIT-ACK and hope that the app did + * accept()'s by the time the COOKIE was sent. But there is + * a price to pay for COOKIE generation and I don't want to + * pay it on the chance that the app will actually do some + * accepts(). The App just looses and should NOT be in this + * state :-) */ sctp_abort_association(inp, stcb, m, iphlen, sh, op_err, vrf_id); |
