psd: tag match reg struct as __read_mostly

This commit is contained in:
Jan Engelhardt
2009-08-13 01:04:26 +02:00
parent 760edd3db6
commit 8e5219636a

View File

@@ -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<EFBFBD>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,