]> git.ipfire.org Git - thirdparty/unbound.git/commit
Merge pull request #399 from xiangbao227/master
authorWouter Wijngaards <wcawijngaards@users.noreply.github.com>
Wed, 13 Jan 2021 09:05:50 +0000 (10:05 +0100)
committerGitHub <noreply@github.com>
Wed, 13 Jan 2021 09:05:50 +0000 (10:05 +0100)
commit7e46204bf73ecdee56e1ab1c48e1829d71cdbc0a
tree805f34d4369464e793f4b01def65c43f29e949b2
parent4d1d8b4cddfde95d50bf3a4f5dcfe36f652c2f58
parent93e5705259d4ebc4131b46ffee4e68163d171f04
Merge pull request #399 from xiangbao227/master

I found that in function "lruhash_remove", table was locked at first ,then lru_remove the entry , then unlock the table, and then markdel entry , but in function "rrset_cache_touch" , the entry will be touched to lru again before markdelling entry in function "lruhash_remove". This may lead to core!