Resources not freed when calling sctp_sendmsg() after shutdown()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Somehow after calling sctp_sendmsg after calling shutdown with SHUT_WR a
resource is not freed anymore.

I can reproduce the following behaviour:
When running for example the following test case
https://github.com/nplab/PR_SCTP_Testsuite/blob/master/forward-tsn/sender-side-implementation/shutdown-tests/ttl-policy/shutdown-14.pkt
on my machine, it succeeds the first time. This means that the test case
worked as expected. But if I run the same test case
on the same machine again then the bind-call in the test-case will fail.
I waited longer than 30 minutes but only a reboot of the operating
system seems to help in this case.

See the following test-cases that all reproduce this issue. All call
sctp_sendmsg after calling shutdown, therefore i suspect
that this is the cause of the issue.

Testscripts available at:
https://github.com/nplab/PR_SCTP_Testsuite/blob/master/forward-tsn/sender-side-implementation/shutdown-tests/ttl-policy/shutdown-14.pkt
https://github.com/nplab/PR_SCTP_Testsuite/blob/master/forward-tsn/sender-side-implementation/shutdown-tests/ttl-policy/shutdown-1.pkt
https://github.com/nplab/PR_SCTP_Testsuite/blob/master/forward-tsn/sender-side-implementation/shutdown-tests/ttl-policy/shutdown-2.pkt
https://github.com/nplab/PR_SCTP_Testsuite/blob/master/forward-tsn/sender-side-implementation/shutdown-received-tests/ttl-policy/shutdown-1.pkt
https://github.com/nplab/PR_SCTP_Testsuite/blob/master/forward-tsn/sender-side-implementation/shutdown-received-tests/ttl-policy/shutdown-2.pkt

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Networking Development]     [Linux OMAP]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux