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
17dc146c
Commit
17dc146c
authored
Jan 22, 2015
by
Mark Andrews
Browse files
4044. [bug] Change 3955 was not complete resulting is a assertion
failure is the timing was just right. [RT #38352]
parent
bac4435d
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
17dc146c
4044. [bug] Change 3955 was not complete resulting is a assertion
failure is the timing was just right. [RT #38352]
4043. [func] "rndc modzone" can be used to modify the
configuration of an existing zone, using similar
syntax to "rndc addzone". [RT #37895]
...
...
lib/isc/ratelimiter.c
View file @
17dc146c
...
...
@@ -154,8 +154,8 @@ isc_ratelimiter_enqueue(isc_ratelimiter_t *rl, isc_task_t *task,
if
(
rl
->
state
==
isc_ratelimiter_ratelimited
||
rl
->
state
==
isc_ratelimiter_stalled
)
{
ev
->
ev_sender
=
task
;
ISC_LIST_APPEND
(
rl
->
pending
,
ev
,
ev_link
);
*
eventp
=
NULL
;
ISC_LIST_APPEND
(
rl
->
pending
,
ev
,
ev_link
);
}
else
if
(
rl
->
state
==
isc_ratelimiter_idle
)
{
result
=
isc_timer_reset
(
rl
->
timer
,
isc_timertype_ticker
,
NULL
,
&
rl
->
interval
,
ISC_FALSE
);
...
...
@@ -181,9 +181,10 @@ isc_ratelimiter_dequeue(isc_ratelimiter_t *rl, isc_event_t *event) {
REQUIRE
(
event
!=
NULL
);
LOCK
(
&
rl
->
lock
);
if
(
ISC_LINK_LINKED
(
event
,
ev_link
))
if
(
ISC_LINK_LINKED
(
event
,
ev_link
))
{
ISC_LIST_UNLINK
(
rl
->
pending
,
event
,
ev_link
);
else
event
->
ev_sender
=
NULL
;
}
else
result
=
ISC_R_NOTFOUND
;
UNLOCK
(
&
rl
->
lock
);
return
(
result
);
...
...
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