]> err.no Git - linux-2.6/blobdiff - net/netfilter/xt_string.c
nfsd: fix possible oops on re-insertion of rpcsec_gss modules
[linux-2.6] / net / netfilter / xt_string.c
index ab761b17f81138122e5fa08fd41c8551e5227f2c..864133442cdac6c35f0f50edb81664565bf65b47 100644 (file)
@@ -73,7 +73,7 @@ static void destroy(const struct xt_match *match, void *matchinfo)
        textsearch_destroy(STRING_TEXT_PRIV(matchinfo)->config);
 }
 
-static struct xt_match xt_string_match[] = {
+static struct xt_match xt_string_match[] __read_mostly = {
        {
                .name           = "string",
                .family         = AF_INET,