]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/dccp/ipv6.c
[IPV6]: Cache source address as well in ipv6_pinfo{}.
[mirror_ubuntu-bionic-kernel.git] / net / dccp / ipv6.c
index 231bc7c7e749c16bd023805515ba0ecc0f7a766b..f9c5e12d70388f2187fe0115a77fea1e76b91b5b 100644 (file)
@@ -231,7 +231,7 @@ static int dccp_v6_connect(struct sock *sk, struct sockaddr *uaddr,
        ipv6_addr_copy(&np->saddr, saddr);
        inet->rcv_saddr = LOOPBACK4_IPV6;
 
-       __ip6_dst_store(sk, dst, NULL);
+       __ip6_dst_store(sk, dst, NULL, NULL);
 
        icsk->icsk_ext_hdr_len = 0;
        if (np->opt != NULL)
@@ -872,7 +872,7 @@ static struct sock *dccp_v6_request_recv_sock(struct sock *sk,
         * comment in that function for the gory details. -acme
         */
 
-       __ip6_dst_store(newsk, dst, NULL);
+       __ip6_dst_store(newsk, dst, NULL, NULL);
        newsk->sk_route_caps = dst->dev->features & ~(NETIF_F_IP_CSUM |
                                                      NETIF_F_TSO);
        newdp6 = (struct dccp6_sock *)newsk;