sctplab/pr-sctp-improved

ABORT-Chunk is sent instead of SHUTDOWN-Chunk

Closed this issue · 3 comments

In the following test-case after calling close the FreeBSD-Kernel sends an ABORT-Chunk instead of an expected SHUTDOWN-Chunk:

You are injecting two messages but the application call sctp_recvmsg() only once. So I would expect the kernel to send an ABORT- chunk. Please change the code to read all messages from the kernel before calling close().

If this is expected then why does the following test-case (which is almost identical expect that it uses DATA and FORWARD-TSN-Chunks) succeed:

Sorry, i was wrong. It fails also. I will adjust both test cases.

I adjusted both test cases and they both pass now. This can be closed now...!