ipv4: Perform peer validation on cached route lookup.
authorDavid S. Miller <davem@davemloft.net>
Thu, 1 Dec 2011 18:38:59 +0000 (13:38 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Dec 2011 16:56:07 +0000 (08:56 -0800)
commit9fdec5ec64644ce4f4081e045dfbcd7518276edb
treead09237cbb9bd363a843fc8c52c5d5f20c0e226b
parent9c8da5125682191090bf32917a6bfba3d711492d
ipv4: Perform peer validation on cached route lookup.

[ Upstream commit efbc368dcc6426d5430b9b8eeda944cf2cb74b8c,
  incorporating a follow-on change to prevent an OOPS ]

Otherwise we won't notice the peer GENID change.

Reported-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv4/route.c