]> err.no Git - linux-2.6/blobdiff - net/ipv6/xfrm6_output.c
fuse: pass open flags to read and write
[linux-2.6] / net / ipv6 / xfrm6_output.c
index c9f42d1c2dff9be5c1f291396e51e8e152d67c3e..656976760ad47175afa8bc6ac7d2152d5e7f95b4 100644 (file)
@@ -50,7 +50,7 @@ static inline int xfrm6_output_one(struct sk_buff *skb)
        struct ipv6hdr *iph;
        int err;
 
-       if (x->mode->flags & XFRM_MODE_FLAG_TUNNEL) {
+       if (x->outer_mode->flags & XFRM_MODE_FLAG_TUNNEL) {
                err = xfrm6_tunnel_check_size(skb);
                if (err)
                        goto error_nolock;