From: Julian Anastasov Date: Tue, 29 Jan 2008 05:14:10 +0000 (-0800) Subject: [IPV4] fib: fix route replacement, fib_info is shared X-Git-Tag: v2.6.25-rc1~1089^2~124 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c18865f39276435abb9286f9a816cb5b66c99a00;p=pandora-kernel.git [IPV4] fib: fix route replacement, fib_info is shared fib_info can be shared by many route prefixes but we don't want duplicate alternative routes for a prefix+tos+priority. Last change was not correct to check fib_treeref because it accounts usage from other prefixes. Additionally, avoid replacement without error if new route is same, as Joonwoo Park suggests. Signed-off-by: Julian Anastasov Signed-off-by: David S. Miller --- Reading git-diff-tree failed