Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
c4f41726
Commit
c4f41726
authored
May 03, 2016
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Note a todo for martin
parent
279ecbf7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
cache_ban.c
bin/varnishd/cache/cache_ban.c
+4
-0
No files found.
bin/varnishd/cache/cache_ban.c
View file @
c4f41726
...
...
@@ -325,6 +325,8 @@ ban_export(void)
void
ban_info_new
(
const
uint8_t
*
ban
,
unsigned
len
)
{
/* XXX martin pls review if ban_mtx needs to be held */
Lck_AssertHeld
(
&
ban_mtx
);
if
(
STV_BanInfoNew
(
ban
,
len
))
ban_export
();
}
...
...
@@ -332,6 +334,8 @@ ban_info_new(const uint8_t *ban, unsigned len)
void
ban_info_drop
(
const
uint8_t
*
ban
,
unsigned
len
)
{
/* XXX martin pls review if ban_mtx needs to be held */
Lck_AssertHeld
(
&
ban_mtx
);
if
(
STV_BanInfoDrop
(
ban
,
len
))
ban_export
();
}
...
...
Write
Preview
Markdown
is supported
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