From: Julian Anastasov Date: Sat, 19 Mar 2011 12:13:54 +0000 (+0000) Subject: ipv4: optimize route adding on secondary promotion X-Git-Tag: v2.6.39-rc1~54^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04024b937a6e9b7d4320b5853557cea3930d528c;p=pandora-kernel.git ipv4: optimize route adding on secondary promotion Optimize the calling of fib_add_ifaddr for all secondary addresses after the promoted one to start from their place, not from the new place of the promoted secondary. It will save some CPU cycles because we are sure the promoted secondary was first for the subnet and all next secondaries do not change their place. Signed-off-by: Julian Anastasov Signed-off-by: David S. Miller --- Reading git-diff-tree failed