From: David Miller Date: Mon, 11 Jul 2011 22:44:24 +0000 (+0000) Subject: ipv4: Inline neigh binding. X-Git-Tag: v3.1-rc1~316^2~171 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3769cffb1c48f64640ffab7ce3bffe867342c0f0;p=pandora-kernel.git ipv4: Inline neigh binding. Get rid of all of the useless and costly indirection by doing the neigh hash table lookup directly inside of the neighbour binding. Rename from arp_bind_neighbour to rt_bind_neighbour. Use new helpers {__,}ipv4_neigh_lookup() In rt_bind_neighbour() get rid of useless tests which are never true in the context this function is called, namely dev is never NULL and the dst->neighbour is always NULL. Signed-off-by: David S. Miller --- Reading git-diff-tree failed