diff options
author | Jamal Hadi Salim <hadi@cyberus.ca> | 2006-08-31 17:42:59 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 15:18:48 -0700 |
commit | eb878e84575fbce21d2edb079eada78bfa27023d (patch) | |
tree | f47eb18d4539015596de96ccb9ac3fd20584cbe5 /net/ipv4/xfrm4_mode_tunnel.c | |
parent | fda9ef5d679b07c9d9097aaf6ef7f069d794a8f9 (diff) | |
download | kernel_samsung_tuna-eb878e84575fbce21d2edb079eada78bfa27023d.zip kernel_samsung_tuna-eb878e84575fbce21d2edb079eada78bfa27023d.tar.gz kernel_samsung_tuna-eb878e84575fbce21d2edb079eada78bfa27023d.tar.bz2 |
[IPSEC]: output mode to take an xfrm state as input param
Expose IPSEC modes output path to take an xfrm state as input param.
This makes it consistent with the input mode processing (which already
takes the xfrm state as a param).
Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/xfrm4_mode_tunnel.c')
-rw-r--r-- | net/ipv4/xfrm4_mode_tunnel.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/xfrm4_mode_tunnel.c b/net/ipv4/xfrm4_mode_tunnel.c index 13cafbe..e23c21d 100644 --- a/net/ipv4/xfrm4_mode_tunnel.c +++ b/net/ipv4/xfrm4_mode_tunnel.c @@ -33,10 +33,9 @@ static inline void ipip_ecn_decapsulate(struct sk_buff *skb) * On exit, skb->h will be set to the start of the payload to be processed * by x->type->output and skb->nh will be set to the top IP header. */ -static int xfrm4_tunnel_output(struct sk_buff *skb) +static int xfrm4_tunnel_output(struct xfrm_state *x, struct sk_buff *skb) { struct dst_entry *dst = skb->dst; - struct xfrm_state *x = dst->xfrm; struct iphdr *iph, *top_iph; int flags; |