]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
ACCOUNT: mark reg structure __read_mostly
authorJan Engelhardt <jengelh@medozas.de>
Tue, 6 Oct 2009 21:42:48 +0000 (23:42 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Tue, 6 Oct 2009 21:42:48 +0000 (23:42 +0200)
extensions/ACCOUNT/xt_ACCOUNT.c

index 9cdb5d489158c629ce48dd17f126ccefbbf57217..34e16b1555217773524a83a82dafcdac732fe2bc 100644 (file)
@@ -1015,7 +1015,7 @@ static int ipt_acc_get_ctl(struct sock *sk, int cmd, void *user, int *len)
        return ret;
 }
 
-static struct xt_target xt_acc_reg = {
+static struct xt_target xt_acc_reg __read_mostly = {
        .name = "ACCOUNT",
        .family = AF_INET,
        .target = ipt_acc_target,