commit | 5110effee8fde2edfacac9cd12a9960ab2dc39ea | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Mon Jul 02 02:21:03 2012 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Jul 05 01:03:06 2012 -0700 |
tree | f74fff97af20ffdf805fedc56f0c8f88bbef2df7 | |
parent | 60d354ebebd9d0f760cb6c3b9f53a7ade0f8cd0e [diff] |
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: David S. Miller <davem@davemloft.net>