diff options
author | David S. Miller <davem@davemloft.net> | 2011-03-25 01:42:21 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-25 01:42:21 +0100 |
commit | 436c3b66ec9824a633724ae42de1c416af4f2063 (patch) | |
tree | 8da6452386b6e900c4226c9b67694d1ea21e847e /net/ipv4/fib_lookup.h | |
parent | net: fix pch_gbe section mismatch warning (diff) | |
download | linux-436c3b66ec9824a633724ae42de1c416af4f2063.tar.xz linux-436c3b66ec9824a633724ae42de1c416af4f2063.zip |
ipv4: Invalidate nexthop cache nh_saddr more correctly.
Any operation that:
1) Brings up an interface
2) Adds an IP address to an interface
3) Deletes an IP address from an interface
can potentially invalidate the nh_saddr value, requiring
it to be recomputed.
Perform the recomputation lazily using a generation ID.
Reported-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_lookup.h')
0 files changed, 0 insertions, 0 deletions