Witold Kręcicki
000fdd8fa5
Fix a possible deadlock in TCP accepting
...
Each network thread holds an array of locks, indexed by a hash
of fd. When we accept a connection we hold a lock in accepting thread.
We then generate the thread number and lock bucket for the new
connection socket - if we hit the same thread and lock bucket as
accepting socket we get a deadlock. Avoid this by checking if we're
in the same thread/lock bucket and not locking in this case.
(cherry picked from commit 75815c1581 )
2019-05-24 12:50:15 +02:00
..
2019-04-25 16:20:50 +02:00
2019-01-09 23:44:26 +01:00
2019-03-05 10:42:01 -08:00
2019-05-24 12:50:15 +02:00
2019-04-25 16:20:50 +02:00
2019-05-10 04:51:22 +00:00
2019-01-09 23:44:26 +01:00
2018-09-07 12:17:29 +02:00
2019-01-09 18:04:21 +11:00
2019-01-09 18:04:21 +11:00
2018-10-30 13:33:25 +01:00
2019-01-09 23:44:26 +01:00
2019-01-25 04:26:49 -05:00
2019-01-09 23:44:26 +01:00
2019-01-09 18:04:21 +11:00
2018-10-25 08:15:42 +02:00
2019-05-07 11:07:32 +10:00
2018-11-22 11:52:08 +00:00
2018-10-25 08:15:42 +02:00
2019-03-08 21:35:08 +01:00
2019-01-09 23:44:26 +01:00
2019-01-09 23:44:26 +01:00
2019-01-09 23:44:26 +01:00
2018-10-25 08:15:42 +02:00
2018-10-18 09:19:12 +00:00
2019-01-09 23:44:26 +01:00
2018-11-22 11:52:08 +00:00
2019-01-09 23:44:26 +01:00
2018-09-07 12:17:30 +02:00
2018-10-26 06:15:51 +02:00
2018-10-26 06:15:51 +02:00
2019-01-09 23:44:26 +01:00
2018-11-22 11:51:49 +00:00
2018-10-24 22:00:08 -04:00
2019-04-25 16:20:50 +02:00
2018-11-08 12:21:53 +07:00
2018-11-30 11:21:55 +00:00
2018-11-22 11:52:08 +00:00
2019-03-07 21:23:39 -08:00
2019-05-13 12:19:26 +10:00
2019-01-09 23:44:26 +01:00
2019-05-06 14:02:41 -07:00
2018-09-07 15:26:50 -07:00
2018-10-18 09:19:12 +00:00
2019-01-30 13:48:58 +01:00
2019-01-09 23:44:26 +01:00
2018-11-08 12:21:53 +07:00