icmp: Fix regression in nexthop resolution during replies.
authorDavid S. Miller <davem@davemloft.net>
Fri, 22 Jul 2011 13:22:10 +0000 (06:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Jul 2011 13:22:10 +0000 (06:22 -0700)
commit415b3334a21aa67806c52d1acf4e72e14f7f402f
treed1101d6d6a6b82ae21bfb312ae3a1e3a8e2d7c29
parentace62dd1a805ab9de9ef8d67585d0588cb379653
icmp: Fix regression in nexthop resolution during replies.

icmp_route_lookup() uses the wrong flow parameters if the reverse
session route lookup isn't used.

So do not commit to the re-decoded flow until we actually make a
final decision to use a real route saved in 'rt2'.

Reported-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/icmp.c