[NETFILTER]: Mark hooks __read_mostly

Signed-off-by: Patrick McHardy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Patrick McHardy 2007-12-05 01:23:00 -08:00 • committed by David S. Miller
commit 1999414a4e
17 changed files with 17 additions and 17 deletions

View file

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