ipv4: Fix scope value used in route src-address caching.
authorDavid S. Miller <davem@davemloft.net>
Tue, 8 Mar 2011 19:03:21 +0000 (11:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Mar 2011 19:03:21 +0000 (11:03 -0800)
commita7ac8fc1d8d26c975c460a69aa7b9d5b5d5d29b0
treed7487dfcbe87a8e57ce666d9febd1199e46c7b46
parent1fc050a13473348f5c439de2bb41c8e92dba5588
ipv4: Fix scope value used in route src-address caching.

We have to use cfg->fc_scope not the final nh_scope value.

Reported-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_fib.h
net/ipv4/fib_semantics.c