]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - net/ipv6/datagram.c
Merge tag 'tomoyo-fixes-for-5.5' of git://git.osdn.net/gitroot/tomoyo/tomoyo-test1
[linux.git] / net / ipv6 / datagram.c
index 96f939248d2ff5e512c58cfdcb063d7b42af8766..390bedde21a56dcc8ea566826f5c791b1483cbb1 100644 (file)
@@ -85,7 +85,7 @@ int ip6_datagram_dst_update(struct sock *sk, bool fix_sk_saddr)
        final_p = fl6_update_dst(&fl6, opt, &final);
        rcu_read_unlock();
 
-       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)) {
                err = PTR_ERR(dst);
                goto out;