]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/xfrm/xfrm_output.c
Merge tag 'parisc-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/parisc-2.6
[karo-tx-linux.git] / net / xfrm / xfrm_output.c
index 47bacd8c025094e24b0200bab9a7c1d438093aa1..95a338c89f99d87af24ffa97faf17e1a7ef700e8 100644 (file)
@@ -21,7 +21,7 @@
 
 static int xfrm_output2(struct sk_buff *skb);
 
-static int xfrm_state_check_space(struct xfrm_state *x, struct sk_buff *skb)
+static int xfrm_skb_check_space(struct sk_buff *skb)
 {
        struct dst_entry *dst = skb_dst(skb);
        int nhead = dst->header_len + LL_RESERVED_SPACE(dst->dev)
@@ -48,7 +48,7 @@ static int xfrm_output_one(struct sk_buff *skb, int err)
                goto resume;
 
        do {
-               err = xfrm_state_check_space(x, skb);
+               err = xfrm_skb_check_space(skb);
                if (err) {
                        XFRM_INC_STATS(net, LINUX_MIB_XFRMOUTERROR);
                        goto error_nolock;