]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - net/ipv6/ip6_output.c
net: add dst_pending_confirm flag to skbuff
[mirror_ubuntu-eoan-kernel.git] / net / ipv6 / ip6_output.c
index b6a94ff0bbd0d5f42c78b7bcd6ea9fbe5ac9a595..14d99fbf102e12b0952b97183689a65d219f4b3d 100644 (file)
@@ -119,6 +119,7 @@ static int ip6_finish_output2(struct net *net, struct sock *sk, struct sk_buff *
        if (unlikely(!neigh))
                neigh = __neigh_create(&nd_tbl, nexthop, dst->dev, false);
        if (!IS_ERR(neigh)) {
+               sock_confirm_neigh(skb, neigh);
                ret = dst_neigh_output(dst, neigh, skb);
                rcu_read_unlock_bh();
                return ret;