Skip to content
Commit 5110effe authored by David S. Miller's avatar David S. Miller
Browse files

net: Do delayed neigh confirmation.



When a dst_confirm() happens, mark the confirmation as pending in the
dst.  Then on the next packet out, when we have the neigh in-hand, do
the update.

This removes the dependency in dst_confirm() of dst's having an
attached neigh.

While we're here, remove the explicit 'dst' NULL check, all except 2
or 3 call sites ensure it's not NULL.  So just fix those cases up.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 60d354eb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment