Witold Kręcicki
aa2282853a
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:39:43 -07:00
..
2020-06-05 10:50:58 +10:00
2020-06-10 11:39:43 -07:00
2020-05-25 17:04:04 -07:00
2020-06-03 14:12:18 +02:00
2020-06-08 15:30:10 +02:00
2020-06-04 11:24:53 +02:00
2020-03-11 08:55:12 +00:00
2020-05-19 13:57:36 +02:00
2020-05-25 17:04:04 -07:00
2020-06-08 15:57:31 +00:00
2020-05-25 17:04:04 -07:00
2020-02-14 05:35:29 +00:00
2020-02-14 08:45:59 +00:00
2020-02-14 08:45:59 +00:00
2020-02-14 08:45:59 +00:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-03-11 08:55:12 +00:00
2020-02-14 08:45:59 +00:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-02-14 08:45:59 +00:00
2020-04-28 16:28:54 +02:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-05-25 17:03:59 -07:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-04-08 14:29:22 +02:00
2020-05-13 10:26:39 +10:00
2020-04-28 15:24:07 +02:00
2020-02-28 09:06:09 +11:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-03-11 08:55:12 +00:00
2020-02-13 21:28:35 +00:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-05-01 06:54:26 +02:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-06-10 17:52:53 +02:00
2020-02-14 08:45:59 +00:00
2020-02-14 05:35:29 +00:00
2020-02-14 08:45:59 +00:00
2020-02-21 07:05:31 +00:00
2020-02-14 05:35:29 +00:00
2020-02-27 12:07:16 +01:00
2020-02-20 19:21:01 +00:00
2020-04-28 16:27:39 +02:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-03-17 15:33:24 -07:00
2020-04-03 20:22:55 +02:00
2020-02-14 05:35:29 +00:00
2020-02-14 05:35:29 +00:00
2020-02-12 14:51:18 +00:00
2020-05-30 07:50:30 +02:00
2020-02-14 05:35:29 +00:00
2020-02-14 08:45:59 +00:00
2020-02-14 05:35:29 +00:00
2020-05-13 10:26:39 +10:00
2020-02-12 14:51:18 +00:00
2020-02-14 05:35:29 +00:00