aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-11-14 04:57:47 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:53:55 -0500
commit294b4baf292197e13d1df1d253efa7ac84ffee3f (patch)
treef7f4fc0fa51e937829e2702faffa78b913895f99 /net/xfrm
parent6e23ae2a48750bda407a4a58f52a4865d7308bf5 (diff)
[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)
113 return dst_output(skb); 113 return dst_output(skb);
114 114
115 err = nf_hook(x->inner_mode->afinfo->family, 115 err = nf_hook(x->inner_mode->afinfo->family,
116 x->inner_mode->afinfo->nf_post_routing, skb, 116 NF_INET_POST_ROUTING, skb,
117 NULL, skb->dst->dev, xfrm_output2); 117 NULL, skb->dst->dev, xfrm_output2);
118 if (unlikely(err != 1)) 118 if (unlikely(err != 1))
119 goto out; 119 goto out;