[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
@@ -115,7 +115,7 @@ static inline void dnrmg_receive_user_skb(struct sk_buff *skb)
|
||||
RCV_SKB_FAIL(-EINVAL);
|
||||
}
|
||||
|
||||
static struct nf_hook_ops dnrmg_ops = {
|
||||
static struct nf_hook_ops dnrmg_ops __read_mostly = {
|
||||
.hook = dnrmg_hook,
|
||||
.pf = PF_DECnet,
|
||||
.hooknum = NF_DN_ROUTE,
|
||||
|
Reference in New Issue
Block a user