summaryrefslogtreecommitdiffstatshomepage
path: root/src/ratelimiter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ratelimiter.c')
-rw-r--r--src/ratelimiter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ratelimiter.c b/src/ratelimiter.c
index 30e4175..c45d7ce 100644
--- a/src/ratelimiter.c
+++ b/src/ratelimiter.c
@@ -8,9 +8,9 @@
#include <linux/netfilter/x_tables.h>
#include <net/ip.h>
-static struct xt_match *v4_match;
+static struct xt_match *v4_match __read_mostly;
#if IS_ENABLED(CONFIG_IPV6)
-static struct xt_match *v6_match;
+static struct xt_match *v6_match __read_mostly;
#endif
enum {