diff options
author | Xin Long <lucien.xin@gmail.com> | 2016-02-18 14:21:19 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-18 17:31:36 +0100 |
commit | deed49df7390d5239024199e249190328f1651e7 (patch) | |
tree | ea42dfb5f3b2e69b5e783c12b62dcc3eb4b53b1c /net/dccp/ipv4.c | |
parent | net_sched fix: reclassification needs to consider ether protocol changes (diff) | |
download | linux-deed49df7390d5239024199e249190328f1651e7.tar.xz linux-deed49df7390d5239024199e249190328f1651e7.zip |
route: check and remove route cache when we get route
Since the gc of ipv4 route was removed, the route cached would has
no chance to be removed, and even it has been timeout, it still could
be used, cause no code to check it's expires.
Fix this issue by checking and removing route cache when we get route.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/ipv4.c')
0 files changed, 0 insertions, 0 deletions