From: Alban Crequy Date: Mon, 14 May 2012 03:56:35 +0000 (+0000) Subject: netfilter: decnet: switch hook PFs to nfproto X-Git-Tag: v3.12-rc1~2707^2~565^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3d33bf2bd83b27707f4bd31ba988bd4d4b92c7ad;p=kernel%2Fkernel-generic.git 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 Reviewed-by: Javier Martinez Canillas Reviewed-by: Vincent Sanders Signed-off-by: Pablo Neira Ayuso --- diff --git a/net/decnet/netfilter/dn_rtmsg.c b/net/decnet/netfilter/dn_rtmsg.c index 44b8909..e6f8862 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, };