projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efdedd5
)
netfilter: decnet: switch hook PFs to nfproto
author
Alban Crequy
<
[email protected]
>
Mon, 14 May 2012 03:56:35 +0000
(
03:56
+0000)
committer
Pablo Neira Ayuso
<
[email protected]
>
Thu, 7 Jun 2012 12:58:42 +0000
(14:58 +0200)
This patch is a cleanup. Use NFPROTO_* for consistency with other
netfilter code.
Signed-off-by: Alban Crequy <
[email protected]
>
Reviewed-by: Javier Martinez Canillas <
[email protected]
>
Reviewed-by: Vincent Sanders <
[email protected]
>
Signed-off-by: Pablo Neira Ayuso <
[email protected]
>
net/decnet/netfilter/dn_rtmsg.c
patch
|
blob
|
history
diff --git
a/net/decnet/netfilter/dn_rtmsg.c
b/net/decnet/netfilter/dn_rtmsg.c
index 44b890936fc0e937dcdab69478ae6e94747a6822..e6f886255cde3427e77821436fc7de880ef458d7 100644
(file)
--- 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,
};