diff options
author | 2011-12-05 13:21:42 -0500 | |
---|---|---|
committer | 2011-12-05 13:21:42 -0500 | |
commit | de398fb8b92eba3447298053a483727bdd5fe37e (patch) | |
tree | 2b13b1a58a9cdbdbea44bc4095bf8a2893a38ee5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ipv4: make sure RTO_ONLINK is saved in routing cache (diff) | |
download | linux-dev-de398fb8b92eba3447298053a483727bdd5fe37e.tar.xz linux-dev-de398fb8b92eba3447298053a483727bdd5fe37e.zip |
ipv4: Fix peer validation on cached lookup.
If ipv4_valdiate_peer() fails during a cached entry lookup,
we'll NULL derer since the loop iterator assumes rth is not
NULL.
Letting this be handled as a failure is just bogus, so just make it
not fail. If we have trouble getting a non-NULL neighbour for the
redirected gateway, just restore the original gateway and continue.
The very next use of this cached route will try again.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions