• David S. Miller's avatar
    net: Do delayed neigh confirmation. · 5110effe
    David S. Miller authored
    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>
    5110effe
dst.c 9.86 KB