[NETFILTER]: Mark hooks __read_mostly
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
41c5b31703
commit
1999414a4e
@ -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,
|
||||
|
Reference in New Issue
Block a user