diff options
author | Jamal Hadi Salim <hadi@cyberus.ca> | 2006-09-01 04:42:59 +0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-23 02:18:48 +0400 |
commit | eb878e84575fbce21d2edb079eada78bfa27023d (patch) | |
tree | f47eb18d4539015596de96ccb9ac3fd20584cbe5 /net/ipv6/xfrm6_mode_ro.c | |
parent | fda9ef5d679b07c9d9097aaf6ef7f069d794a8f9 (diff) | |
download | linux-eb878e84575fbce21d2edb079eada78bfa27023d.tar.xz |
[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/ipv6/xfrm6_mode_ro.c')
-rw-r--r-- | net/ipv6/xfrm6_mode_ro.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv6/xfrm6_mode_ro.c b/net/ipv6/xfrm6_mode_ro.c index c11c335312f9..6031c16d46ca 100644 --- a/net/ipv6/xfrm6_mode_ro.c +++ b/net/ipv6/xfrm6_mode_ro.c @@ -43,9 +43,8 @@ * its absence, that of the top IP header. The value of skb->data will always * point to the top IP header. */ -static int xfrm6_ro_output(struct sk_buff *skb) +static int xfrm6_ro_output(struct xfrm_state *x, struct sk_buff *skb) { - struct xfrm_state *x = skb->dst->xfrm; struct ipv6hdr *iph; u8 *prevhdr; int hdr_len; |