From c18865f39276435abb9286f9a816cb5b66c99a00 Mon Sep 17 00:00:00 2001 From: Julian Anastasov Date: Mon, 28 Jan 2008 21:14:10 -0800 Subject: [PATCH] [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-format-patch failed