|
@@ -379,7 +379,7 @@ static int vrf_finish_output6(struct net *net, struct sock *sk,
|
|
neigh = __neigh_create(&nd_tbl, nexthop, dst->dev, false);
|
|
neigh = __neigh_create(&nd_tbl, nexthop, dst->dev, false);
|
|
if (!IS_ERR(neigh)) {
|
|
if (!IS_ERR(neigh)) {
|
|
sock_confirm_neigh(skb, neigh);
|
|
sock_confirm_neigh(skb, neigh);
|
|
- ret = dst_neigh_output(dst, neigh, skb);
|
|
|
|
|
|
+ ret = neigh_output(neigh, skb);
|
|
rcu_read_unlock_bh();
|
|
rcu_read_unlock_bh();
|
|
return ret;
|
|
return ret;
|
|
}
|
|
}
|
|
@@ -577,7 +577,7 @@ static int vrf_finish_output(struct net *net, struct sock *sk, struct sk_buff *s
|
|
neigh = __neigh_create(&arp_tbl, &nexthop, dev, false);
|
|
neigh = __neigh_create(&arp_tbl, &nexthop, dev, false);
|
|
if (!IS_ERR(neigh)) {
|
|
if (!IS_ERR(neigh)) {
|
|
sock_confirm_neigh(skb, neigh);
|
|
sock_confirm_neigh(skb, neigh);
|
|
- ret = dst_neigh_output(dst, neigh, skb);
|
|
|
|
|
|
+ ret = neigh_output(neigh, skb);
|
|
}
|
|
}
|
|
|
|
|
|
rcu_read_unlock_bh();
|
|
rcu_read_unlock_bh();
|