ipv4: Fix nexthop caching wrt. scoping.
authorDavid S. Miller <davem@davemloft.net>
Fri, 25 Mar 2011 01:06:47 +0000 (18:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Mar 2011 01:06:47 +0000 (18:06 -0700)
commit37e826c513883099c298317bad1b3b677b2905fb
treea032cfe69e0cde179d86eba157cf9dc85d67df86
parent436c3b66ec9824a633724ae42de1c416af4f2063
ipv4: Fix nexthop caching wrt. scoping.

Move the scope value out of the fib alias entries and into fib_info,
so that we always use the correct scope when recomputing the nexthop
cached source address.

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