diff options
author | rrs <rrs@FreeBSD.org> | 2008-05-20 09:51:36 +0000 |
---|---|---|
committer | rrs <rrs@FreeBSD.org> | 2008-05-20 09:51:36 +0000 |
commit | a490cf2e7ef9d2e524f85d9cde3d5c8318409542 (patch) | |
tree | 1a0aa0d15c801dddaf3552fba7a32112b8ee3590 /sys/netinet/sctp_input.c | |
parent | e2e62f671f21faeeecccc183d7f97e99d951539d (diff) | |
download | FreeBSD-src-a490cf2e7ef9d2e524f85d9cde3d5c8318409542.zip FreeBSD-src-a490cf2e7ef9d2e524f85d9cde3d5c8318409542.tar.gz |
- Define changes in sctp.h
- Bug in CA that does not get us incrementing the PBA properly which
made us more conservative.
- comment updated in sctp_input.c
- memsets added before we log
- added arg to hmac id's
MFC after: 2 weeks
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 1602459..4c515f6 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); |