commit | 4331debc51ee1ce319f4a389484e0e8e05de2aca | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Wed Jul 25 05:11:23 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 25 15:24:14 2012 -0700 |
tree | 84eafe4afed26328cfe3098ff7103c1222d70aa8 | |
parent | 6d8d2dd8ad92ec89f540e73b7a46c5835a7a06a6 [diff] |
ipv4: rt_cache_valid must check expired routes commit d2d68ba9fe8 (ipv4: Cache input routes in fib_info nexthops.) introduced rt_cache_valid() helper. It unfortunately doesn't check if route is expired before caching it. I noticed sk_setup_caps() was constantly called on a tcp workload. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>