From 8e5219636ad9ffc3b0c6a5df32122cdf9cd653e7 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 13 Aug 2009 01:04:26 +0200 Subject: [PATCH] psd: tag match reg struct as __read_mostly --- extensions/xt_psd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/xt_psd.c b/extensions/xt_psd.c index ca22972..7dee714 100644 --- a/extensions/xt_psd.c +++ b/extensions/xt_psd.c @@ -135,7 +135,7 @@ xt_psd_match(const struct sk_buff *pskb, const struct xt_match_param *match) tcph = (void *)iph + ip_hdrlen(pskb); - /* Yep, itīs dirty */ + /* Yep, it's dirty */ src_port = tcph->source; dest_port = tcph->dest; @@ -303,7 +303,7 @@ out_match: return true; } -static struct xt_match xt_psd_reg = { +static struct xt_match xt_psd_reg __read_mostly = { .name = "psd", .family = AF_INET, .revision = 9,