summaryrefslogtreecommitdiffstats
path: root/net/decnet
diff options
context:
space:
mode:
authorAlban Crequy <alban.crequy@collabora.co.uk>2012-05-14 03:56:35 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2012-06-07 14:58:42 +0200
commit3d33bf2bd83b27707f4bd31ba988bd4d4b92c7ad (patch)
treeb57f6b43aea2fcabd17c5860ad26b5afd4211674 /net/decnet
parentefdedd5426a94b00d23483a1bcb4af3a91c894db (diff)
downloadlinux-stable-3d33bf2bd83b27707f4bd31ba988bd4d4b92c7ad.tar.gz
linux-stable-3d33bf2bd83b27707f4bd31ba988bd4d4b92c7ad.tar.bz2
linux-stable-3d33bf2bd83b27707f4bd31ba988bd4d4b92c7ad.zip
netfilter: decnet: switch hook PFs to nfproto
This patch is a cleanup. Use NFPROTO_* for consistency with other netfilter code. Signed-off-by: Alban Crequy <alban.crequy@collabora.co.uk> Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk> Reviewed-by: Vincent Sanders <vincent.sanders@collabora.co.uk> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/decnet')
-rw-r--r--net/decnet/netfilter/dn_rtmsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/decnet/netfilter/dn_rtmsg.c b/net/decnet/netfilter/dn_rtmsg.c
index 44b890936fc0..e6f886255cde 100644
--- a/net/decnet/netfilter/dn_rtmsg.c
+++ b/net/decnet/netfilter/dn_rtmsg.c
@@ -117,7 +117,7 @@ static inline void dnrmg_receive_user_skb(struct sk_buff *skb)
static struct nf_hook_ops dnrmg_ops __read_mostly = {
.hook = dnrmg_hook,
- .pf = PF_DECnet,
+ .pf = NFPROTO_DECNET,
.hooknum = NF_DN_ROUTE,
.priority = NF_DN_PRI_DNRTMSG,
};