]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add rcu_barrier() to isc__log_shutdown()
authorOndřej Surý <ondrej@isc.org>
Thu, 24 Jul 2025 09:02:15 +0000 (11:02 +0200)
committerOndřej Surý <ondrej@isc.org>
Mon, 4 Aug 2025 09:29:54 +0000 (11:29 +0200)
commitf2e107508a2a229336a4afe6a74784a255633509
tree62f10a3882e0d64c38f7f7a33d4625d8c498b3d7
parentf7e5c1db38ec0ac6945510a65d931c546d485d41
Add rcu_barrier() to isc__log_shutdown()

There is a data race when QP is reclaiming chunks on the call_rcu
threads and it tries to log the number of reclaimed chunks while the
server is shuttingdown.  Workaround this by adding rcu_barrier() before
shuttingdown the global log context.
lib/isc/log.c