Fix several problems with Stream Reset.
authorrrs <rrs@FreeBSD.org>
Wed, 22 Jul 2015 11:30:37 +0000 (11:30 +0000)
committerrrs <rrs@FreeBSD.org>
Wed, 22 Jul 2015 11:30:37 +0000 (11:30 +0000)
commit606fc6cd559dcdd7115db80f7c82470ff6068a17
treefe3b690c2cb0041a06258b9b2c5f4b51cb038ede
parentb2a714f330c67d066337007089a3e7044823d46e
Fix several problems with Stream Reset.
 1) We were not handling (or sending) the IN_PROGRESS case if
    the other side (or our side) was not able to reset (awaiting more data).
 2) We would improperly send a stream-reset when we should not. Not
    waiting until the TSN had been assigned when data was inqueue.

Reviewed by: tuexen
sys/netinet/sctp_indata.c
sys/netinet/sctp_input.c
sys/netinet/sctp_output.c
sys/netinet/sctp_output.h
sys/netinet/sctp_structs.h
sys/netinet/sctp_usrreq.c
sys/netinet/sctputil.c