summaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-11-14 10:57:47 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-28 23:53:55 +0100
commit294b4baf292197e13d1df1d253efa7ac84ffee3f (patch)
treef7f4fc0fa51e937829e2702faffa78b913895f99 /net/xfrm
parent[NETFILTER]: Introduce NF_INET_ hook values (diff)
downloadlinux-294b4baf292197e13d1df1d253efa7ac84ffee3f.tar.xz
linux-294b4baf292197e13d1df1d253efa7ac84ffee3f.zip
[IPSEC]: Kill afinfo->nf_post_routing
After changeset: [NETFILTER]: Introduce NF_INET_ hook values It always evaluates to NF_INET_POST_ROUTING. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
-rw-r--r--net/xfrm/xfrm_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_output.c b/net/xfrm/xfrm_output.c
index 048d240c3e15..3c277a4d0e78 100644
--- a/net/xfrm/xfrm_output.c
+++ b/net/xfrm/xfrm_output.c
@@ -113,7 +113,7 @@ int xfrm_output_resume(struct sk_buff *skb, int err)
return dst_output(skb);
err = nf_hook(x->inner_mode->afinfo->family,
- x->inner_mode->afinfo->nf_post_routing, skb,
+ NF_INET_POST_ROUTING, skb,
NULL, skb->dst->dev, xfrm_output2);
if (unlikely(err != 1))
goto out;