From: David S. Miller Date: Mon, 2 Jul 2012 09:21:03 +0000 (-0700) Subject: net: Do delayed neigh confirmation. X-Git-Tag: v3.6-rc1~125^2~320 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5110effee8fde2edfacac9cd12a9960ab2dc39ea;p=pandora-kernel.git 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 --- Reading git-diff-tree failed