diff options
author | Patrick McHardy <kaber@trash.net> | 2007-12-05 01:23:00 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 14:56:07 -0800 |
commit | 1999414a4ece2b8cea3fb3c4dc8fe06796256269 (patch) | |
tree | 5f2e774691d05f043390ec8a310f411c99aa7a9e /net/sched/sch_ingress.c | |
parent | 41c5b317036fcb593d14b4dfd12e3318faf3af8a (diff) | |
download | lwn-1999414a4ece2b8cea3fb3c4dc8fe06796256269.tar.gz lwn-1999414a4ece2b8cea3fb3c4dc8fe06796256269.zip |
[NETFILTER]: Mark hooks __read_mostly
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_ingress.c')
-rw-r--r-- | net/sched/sch_ingress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_ingress.c b/net/sched/sch_ingress.c index f4af9b604f3f..89c32a9bcc5e 100644 --- a/net/sched/sch_ingress.c +++ b/net/sched/sch_ingress.c @@ -231,7 +231,7 @@ ing_hook(unsigned int hook, struct sk_buff *skb, } /* after ipt_filter */ -static struct nf_hook_ops ing_ops[] = { +static struct nf_hook_ops ing_ops[] __read_mostly = { { .hook = ing_hook, .owner = THIS_MODULE, |