Files
bind9/lib/dns
Ondřej Surý 96e7bf76e7 Don't release the tree read lock in dereference_iter_node()
Previously, the tree read lock could be upgraded to a write lock in
decrement_reference() and then downgraded back to read lock in
dereference_iter_node().  When the use of isc_rwlock_downgrade() was
removed, the downgrade was changed to a simple unlock+lock. This allows
some delete operations to sneak in and delete nodes that the iterator
expects to be in place.

Expand decrement_reference() so the caller can indicate whether the
tree read lock should be upgraded, and disallow the upgrade when
calling from dereference_iter_node(), so there will be no need to
release the lock afterward.
2022-11-03 14:07:44 +00:00
..
2022-10-29 00:22:54 +11:00
2022-10-17 11:58:26 +01:00
2022-10-25 10:35:07 +02:00
2022-10-14 16:39:21 +02:00
2022-10-17 11:58:26 +01:00
2022-06-09 10:47:04 +00:00
2022-10-17 11:58:26 +01:00
2022-06-28 11:56:31 +02:00
2022-10-25 10:35:07 +02:00
2022-10-29 00:22:54 +11:00
2022-07-18 13:38:47 +02:00
2022-09-08 11:27:31 +02:00
2022-09-13 12:07:13 +10:00
2022-07-15 10:33:46 +00:00
2022-05-03 00:41:42 +01:00
2022-10-29 00:22:54 +11:00
2022-05-03 12:38:59 +00:00
2022-10-17 11:58:26 +01:00
2022-05-03 12:38:59 +00:00
2022-09-23 13:23:49 +00:00