summaryrefslogtreecommitdiffstats
path: root/net/dccp
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-12-05 13:21:42 -0500
committerDavid S. Miller <davem@davemloft.net>2011-12-05 13:21:42 -0500
commitde398fb8b92eba3447298053a483727bdd5fe37e (patch)
tree2b13b1a58a9cdbdbea44bc4095bf8a2893a38ee5 /net/dccp
parentf61759e6b831a55b89e584b198c3da325e2bc379 (diff)
downloadlinux-de398fb8b92eba3447298053a483727bdd5fe37e.tar.bz2
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 'net/dccp')
0 files changed, 0 insertions, 0 deletions