diff options
author | Patrick McHardy <kaber@trash.net> | 2007-12-05 04:23:00 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:56:07 -0500 |
commit | 1999414a4ece2b8cea3fb3c4dc8fe06796256269 (patch) | |
tree | 5f2e774691d05f043390ec8a310f411c99aa7a9e /net/decnet | |
parent | 41c5b317036fcb593d14b4dfd12e3318faf3af8a (diff) |
[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/decnet')
-rw-r--r-- | net/decnet/netfilter/dn_rtmsg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/decnet/netfilter/dn_rtmsg.c b/net/decnet/netfilter/dn_rtmsg.c index 43fcd29046d1..96375f2e64ff 100644 --- a/net/decnet/netfilter/dn_rtmsg.c +++ b/net/decnet/netfilter/dn_rtmsg.c | |||
@@ -115,7 +115,7 @@ static inline void dnrmg_receive_user_skb(struct sk_buff *skb) | |||
115 | RCV_SKB_FAIL(-EINVAL); | 115 | RCV_SKB_FAIL(-EINVAL); |
116 | } | 116 | } |
117 | 117 | ||
118 | static struct nf_hook_ops dnrmg_ops = { | 118 | static struct nf_hook_ops dnrmg_ops __read_mostly = { |
119 | .hook = dnrmg_hook, | 119 | .hook = dnrmg_hook, |
120 | .pf = PF_DECnet, | 120 | .pf = PF_DECnet, |
121 | .hooknum = NF_DN_ROUTE, | 121 | .hooknum = NF_DN_ROUTE, |