]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8d70a497861ee900774da9ad2a7ab434b9b3e078
treea032cfe69e0cde179d86eba157cf9dc85d67df86
parent36307cef57d2b50cd6e19f7fd0f5502bb6e0f713
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