Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
183e1ace
Commit
183e1ace
authored
Jun 16, 2020
by
Mark Andrews
Browse files
fixup! fixup! fixup! fixup! Address TSAN is mark_header_stale
parent
2d0dea40
Pipeline
#44433
failed with stages
in 29 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/dns/rbtdb.c
View file @
183e1ace
...
...
@@ -3064,7 +3064,9 @@ bind_rdataset(dns_rbtdb_t *rbtdb, dns_rbtnode_t *node, rdatasetheader_t *header,
* were unable to obtain a write lock so we need to check
* rdh_ttl here.
*/
if
(
STALE
(
header
)
||
(
IS_CACHE
(
rbtdb
)
&&
header
->
rdh_ttl
>
now
))
{
if
(
STALE
(
header
)
||
(
IS_CACHE
(
rbtdb
)
&&
!
ACTIVE
(
header
,
now
)
&&
header
->
rdh_ttl
>
now
))
{
rdataset
->
attributes
|=
DNS_RDATASETATTR_STALE
;
rdataset
->
stale_ttl
=
(
rbtdb
->
serve_stale_ttl
+
header
->
rdh_ttl
)
-
now
;
...
...
Mark Andrews
@marka
mentioned in issue
#1945 (closed)
·
Jun 16, 2020
mentioned in issue
#1945 (closed)
mentioned in issue #1945
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment