]> err.no Git - linux-2.6/commit
[ARP]: Move inet_addr_type call after simple error checks in arp_contructor.
authorDenis V. Lunev <den@openvz.org>
Tue, 15 Jan 2008 06:56:01 +0000 (22:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:02:08 +0000 (15:02 -0800)
commita79878f00dad97d03a3e62a48b06227d55ae5fe4
tree6d723e833f6e284da09580d8981d26a1ec32f587
parenta308da1627d711fd0c7542bfe892abc78d65d215
[ARP]: Move inet_addr_type call after simple error checks in arp_contructor.

The neighbour entry will be destroyed in the case of error, so it is
pointless to perform constly routing table lookup in this case.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/arp.c