]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv6/syncookies.c
netns xfrm: lookup in netns
[linux-2.6-omap-h63xx.git] / net / ipv6 / syncookies.c
index 676c80b5b14b8d13a518ce3a7d7b5f0c48208c5b..711175e0571f754539f5bc74975ebb5b83e1f54a 100644 (file)
@@ -259,7 +259,7 @@ struct sock *cookie_v6_check(struct sock *sk, struct sk_buff *skb)
 
                if (final_p)
                        ipv6_addr_copy(&fl.fl6_dst, final_p);
-               if ((xfrm_lookup(&dst, &fl, sk, 0)) < 0)
+               if ((xfrm_lookup(sock_net(sk), &dst, &fl, sk, 0)) < 0)
                        goto out_free;
        }