diff options
author | David S. Miller <davem@davemloft.net> | 2011-03-08 14:03:21 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-08 14:03:21 -0500 |
commit | a7ac8fc1d8d26c975c460a69aa7b9d5b5d5d29b0 (patch) | |
tree | d7487dfcbe87a8e57ce666d9febd1199e46c7b46 /include/net/ip_fib.h | |
parent | 1fc050a13473348f5c439de2bb41c8e92dba5588 (diff) |
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>
Diffstat (limited to 'include/net/ip_fib.h')
-rw-r--r-- | include/net/ip_fib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h index 0e140830b85a..3f6c943faedc 100644 --- a/include/net/ip_fib.h +++ b/include/net/ip_fib.h | |||
@@ -51,6 +51,7 @@ struct fib_nh { | |||
51 | struct fib_info *nh_parent; | 51 | struct fib_info *nh_parent; |
52 | unsigned nh_flags; | 52 | unsigned nh_flags; |
53 | unsigned char nh_scope; | 53 | unsigned char nh_scope; |
54 | unsigned char nh_cfg_scope; | ||
54 | #ifdef CONFIG_IP_ROUTE_MULTIPATH | 55 | #ifdef CONFIG_IP_ROUTE_MULTIPATH |
55 | int nh_weight; | 56 | int nh_weight; |
56 | int nh_power; | 57 | int nh_power; |