Commit c4f41726 authored by Nils Goroll's avatar Nils Goroll

Note a todo for martin

parent 279ecbf7
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment