tuexen 1dededab5d MFC r294057:
Fix a bug in INIT handling on accepted 1-to-1 style sockets when the
listener is closed.
This fix allows the following packetdrill test to pass:
// Setup a connected, blocking 1-to-1 style socket
+0.0 socket(..., SOCK_STREAM, IPPROTO_SCTP) = 3
// Check the handshake with en empty(!) cookie
+0.0 bind(3, ..., ...) = 0
+0.0 listen(3, 1) = 0
+0.0 < sctp: INIT[flgs=0, tag=1, a_rwnd=1500, os=1, is=1, tsn=1]
+0.0 > sctp: INIT_ACK[flgs=0, tag=2, a_rwnd=..., os=..., is=..., tsn=1, ...]
+0.0 < sctp: COOKIE_ECHO[flgs=0, len=..., val=...]
+0.0 > sctp: COOKIE_ACK[flgs=0]
+0.0 accept(3, ..., ...) = 4
+0.0 close(3) = 0
// Inject an INIT chunk and expect an INIT-ACK
+0.0 < sctp: INIT[flgs=0, tag=3, a_rwnd=1500, os=1, is=1, tsn=1]
+0.0 > sctp: INIT_ACK[flgs=0, tag=..., a_rwnd=..., os=..., is=..., tsn=..., ...]
2016-01-17 14:14:12 +00:00
..
2016-01-11 23:37:31 +00:00
2015-12-08 07:43:12 +00:00
2015-06-06 13:26:13 +00:00
2015-12-02 17:26:37 +00:00
2015-02-15 13:57:44 +00:00
2015-02-02 11:42:35 +00:00
2014-10-09 23:45:26 +00:00
2015-09-18 17:29:24 +00:00
2015-06-06 13:26:13 +00:00
2015-06-02 03:14:42 +00:00
2015-07-29 17:50:14 +00:00
2015-11-26 02:24:45 +00:00
2014-10-09 23:46:17 +00:00
2014-10-09 23:45:26 +00:00
2015-06-17 07:21:43 +00:00
2015-07-31 03:40:09 +00:00
2016-01-16 12:40:43 +00:00
2016-01-16 17:56:06 +00:00
2014-09-18 09:49:49 +00:00
2015-05-29 12:03:02 +00:00
2015-05-31 12:46:40 +00:00
2016-01-16 16:42:40 +00:00
2016-01-16 16:46:00 +00:00
2016-01-17 12:39:35 +00:00
2016-01-16 12:47:28 +00:00
2016-01-17 12:18:01 +00:00
2015-06-20 08:25:27 +00:00
2016-01-16 12:33:45 +00:00
2016-01-17 12:41:46 +00:00
2016-01-16 12:20:47 +00:00
2016-01-17 14:14:12 +00:00
2016-01-17 12:18:01 +00:00
2015-05-29 12:54:30 +00:00
2016-01-16 12:15:07 +00:00
2016-01-16 14:41:44 +00:00
2016-01-16 14:46:27 +00:00
2016-01-17 12:07:47 +00:00
2016-01-16 18:05:24 +00:00
2016-01-17 14:10:37 +00:00
2015-06-17 09:39:40 +00:00
2016-01-16 16:46:00 +00:00
2016-01-17 14:00:24 +00:00
2016-01-17 12:15:41 +00:00
2015-04-06 22:41:13 +00:00
2015-12-28 02:43:12 +00:00
2015-12-28 02:43:12 +00:00
2015-02-10 21:41:56 +00:00
2016-01-11 23:34:29 +00:00
2016-01-11 23:34:29 +00:00
2015-12-28 02:43:12 +00:00
2015-12-28 02:43:12 +00:00
2015-12-28 02:43:12 +00:00
2015-06-11 13:44:06 +00:00
2015-05-13 00:28:36 +00:00
2015-12-28 02:43:12 +00:00
2016-01-11 23:34:29 +00:00
2015-12-28 02:43:12 +00:00
2015-01-27 06:19:30 +00:00
2015-02-15 20:53:50 +00:00