]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - net/ipv6/syncookies.c
zd1211rw: fix storage endpoint lookup
[linux.git] / net / ipv6 / syncookies.c
index 16632e02e9b0e6d33cc11ea46ee6d88c5db98537..30915f6f31e30eed117830e82c1163ffafd6a7ea 100644 (file)
@@ -235,7 +235,7 @@ struct sock *cookie_v6_check(struct sock *sk, struct sk_buff *skb)
                fl6.flowi6_uid = sk->sk_uid;
                security_req_classify_flow(req, flowi6_to_flowi(&fl6));
 
-               dst = ip6_dst_lookup_flow(sk, &fl6, final_p);
+               dst = ip6_dst_lookup_flow(sock_net(sk), sk, &fl6, final_p);
                if (IS_ERR(dst))
                        goto out_free;
        }