]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[9.20] fix: dev: Add a missing rcu_read_unlock() call on exit path
authorArаm Sаrgsyаn <aram@isc.org>
Fri, 27 Sep 2024 14:29:46 +0000 (14:29 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Fri, 27 Sep 2024 14:29:46 +0000 (14:29 +0000)
An exit path in the dns_dispatch_add() function fails to get out of
the RCU critical section when returning early. Add the missing
rcu_read_unlock() call.

Backport of MR !9561

Merge branch 'backport-aram/add-missing-rcu_read_unlock-in-dns_dispatch_add-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!9564


Trivial merge