diff options
Diffstat (limited to 'net/decnet/dn_neigh.c')
-rw-r--r-- | net/decnet/dn_neigh.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/net/decnet/dn_neigh.c b/net/decnet/dn_neigh.c index 794b5bf95af1..76622c0442be 100644 --- a/net/decnet/dn_neigh.c +++ b/net/decnet/dn_neigh.c | |||
@@ -265,7 +265,8 @@ static int dn_long_output(struct sk_buff *skb) | |||
265 | 265 | ||
266 | skb_reset_network_header(skb); | 266 | skb_reset_network_header(skb); |
267 | 267 | ||
268 | return NF_HOOK(PF_DECnet, NF_DN_POST_ROUTING, skb, NULL, neigh->dev, dn_neigh_output_packet); | 268 | return NF_HOOK(NFPROTO_DECNET, NF_DN_POST_ROUTING, skb, NULL, |
269 | neigh->dev, dn_neigh_output_packet); | ||
269 | } | 270 | } |
270 | 271 | ||
271 | static int dn_short_output(struct sk_buff *skb) | 272 | static int dn_short_output(struct sk_buff *skb) |
@@ -304,7 +305,8 @@ static int dn_short_output(struct sk_buff *skb) | |||
304 | 305 | ||
305 | skb_reset_network_header(skb); | 306 | skb_reset_network_header(skb); |
306 | 307 | ||
307 | return NF_HOOK(PF_DECnet, NF_DN_POST_ROUTING, skb, NULL, neigh->dev, dn_neigh_output_packet); | 308 | return NF_HOOK(NFPROTO_DECNET, NF_DN_POST_ROUTING, skb, NULL, |
309 | neigh->dev, dn_neigh_output_packet); | ||
308 | } | 310 | } |
309 | 311 | ||
310 | /* | 312 | /* |
@@ -346,7 +348,8 @@ static int dn_phase3_output(struct sk_buff *skb) | |||
346 | 348 | ||
347 | skb_reset_network_header(skb); | 349 | skb_reset_network_header(skb); |
348 | 350 | ||
349 | return NF_HOOK(PF_DECnet, NF_DN_POST_ROUTING, skb, NULL, neigh->dev, dn_neigh_output_packet); | 351 | return NF_HOOK(NFPROTO_DECNET, NF_DN_POST_ROUTING, skb, NULL, |
352 | neigh->dev, dn_neigh_output_packet); | ||
350 | } | 353 | } |
351 | 354 | ||
352 | /* | 355 | /* |