Julian Anastasov c18865f392 [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 <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-01-31 19:27:10 -08:00
..
2008-01-28 15:10:17 -08:00
2008-01-28 15:00:48 -08:00
2008-01-28 15:08:13 -08:00
2008-01-28 15:11:09 -08:00
2008-01-31 19:26:46 -08:00
2008-01-28 15:02:44 -08:00
2008-01-28 15:01:05 -08:00
2008-01-28 15:10:48 -08:00
2008-01-28 14:56:29 -08:00