Witold Kręcicki
85d8e4bf76
Fix a race in TCP accepting.
...
There's a possibility of a race in TCP accepting code:
T1 accepts a connection C1
T2 accepts a connection C2
T1 tries to accept a connection C3, but we hit a quota,
isc_quota_cb_init() sets quota_accept_cb for the socket,
we return from accept_connection
T2 drops C2, but we race in quota_release with accepting C3 so
we don't see quota->waiting is > 0, we don't launch the callback
T1 accepts a connection C4, we are able to get the quota we clear
the quota_accept_cb from sock->quotacb
T1 drops C1, tries to call the callback which is zeroed, sigsegv.
2020-06-10 11:37:27 -07:00
..
2020-06-05 08:34:51 +10:00
2020-06-10 11:37:27 -07:00
2020-05-25 16:09:57 -07:00
2020-06-05 13:19:49 +02:00
2020-06-05 13:19:49 +02:00
2020-06-05 13:19:49 +02:00
2020-03-09 16:19:22 +01:00
2020-04-16 23:03:54 +02:00
2020-05-25 16:09:57 -07:00
2020-05-13 11:02:23 +02:00
2020-05-25 16:09:57 -07:00
2020-03-11 20:32:21 +01:00
2020-02-14 09:31:05 +01:00
2020-02-14 09:31:05 +01:00
2019-03-08 15:15:05 +01:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2018-08-08 09:37:28 +02:00
2020-03-09 16:19:22 +01:00
2020-02-14 09:31:05 +01:00
2020-02-13 15:05:06 -08:00
2020-06-05 13:19:49 +02:00
2020-06-05 13:19:49 +02:00
2020-05-28 11:28:44 +02:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2020-02-14 09:31:05 +01:00
2020-03-17 09:11:13 +01:00
2020-04-21 14:19:48 +02:00
2020-05-28 11:28:44 +02:00
2020-05-25 16:09:57 -07:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2020-05-26 00:47:18 -07:00
2020-06-05 13:19:49 +02:00
2020-03-17 09:11:13 +01:00
2018-10-18 09:19:12 +00:00
2020-05-04 09:14:58 +02:00
2020-02-13 15:05:06 -08:00
2020-04-21 14:19:48 +02:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2020-03-09 16:19:22 +01:00
2020-02-13 22:07:21 +01:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2020-04-20 11:40:42 +02:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2020-06-10 17:52:00 +02:00
2020-02-14 09:31:05 +01:00
2020-06-05 13:19:49 +02:00
2020-02-14 09:31:05 +01:00
2020-02-21 15:05:08 +11:00
2020-02-13 15:05:06 -08:00
2020-02-27 07:58:48 +00:00
2020-02-16 18:09:19 +01:00
2020-03-12 20:07:16 +01:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2020-04-21 14:19:48 +02:00
2020-04-03 19:41:46 +02:00
2020-02-13 15:05:06 -08:00
2020-02-13 15:05:06 -08:00
2020-02-12 15:04:17 +01:00
2020-05-29 19:18:58 +00:00
2020-02-13 15:05:06 -08:00
2018-02-23 10:12:02 +01:00
2020-02-14 09:31:05 +01:00
2020-02-13 15:05:06 -08:00
2020-05-12 22:01:54 +10:00