diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2010-03-22 23:09:14 -0400 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2010-03-25 11:03:06 -0400 |
commit | 5d877d876cfb96c0c3254184171b4767501f4f95 (patch) | |
tree | 6d57a3b4fbda96e442e47ce83cdaf5d14c767dbd /net/decnet/dn_nsp_in.c | |
parent | b2e0b385d77069031edb957839aaaa8441b47287 (diff) |
netfilter: decnet: use NFPROTO values for NF_HOOK invocation
The semantic patch used was:
// <smpl>
@@
@@
NF_HOOK(
-PF_DECnet,
+NFPROTO_DECNET,
...)
// </smpl>
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'net/decnet/dn_nsp_in.c')
-rw-r--r-- | net/decnet/dn_nsp_in.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/decnet/dn_nsp_in.c b/net/decnet/dn_nsp_in.c index 932408dca86d..65531ad96e70 100644 --- a/net/decnet/dn_nsp_in.c +++ b/net/decnet/dn_nsp_in.c | |||
@@ -809,7 +809,8 @@ free_out: | |||
809 | 809 | ||
810 | int dn_nsp_rx(struct sk_buff *skb) | 810 | int dn_nsp_rx(struct sk_buff *skb) |
811 | { | 811 | { |
812 | return NF_HOOK(PF_DECnet, NF_DN_LOCAL_IN, skb, skb->dev, NULL, dn_nsp_rx_packet); | 812 | return NF_HOOK(NFPROTO_DECNET, NF_DN_LOCAL_IN, skb, skb->dev, NULL, |
813 | dn_nsp_rx_packet); | ||
813 | } | 814 | } |
814 | 815 | ||
815 | /* | 816 | /* |