Commit 2587b1b9 authored by Tollef Fog Heen's avatar Tollef Fog Heen

Mark ban list as volatile

Fixes #1194
parent 31645c92
......@@ -81,7 +81,8 @@ struct ban_test {
const void *arg2_spec;
};
static VTAILQ_HEAD(banhead_s,ban) ban_head = VTAILQ_HEAD_INITIALIZER(ban_head);
/* XXX phk thinks he knows why this is a good idea */
static volatile VTAILQ_HEAD(banhead_s,ban) ban_head = VTAILQ_HEAD_INITIALIZER(ban_head);
static struct lock ban_mtx;
static struct ban *ban_magic;
static pthread_t ban_thread;
......
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