]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf9da36821321aa29d27d69442315d70965357d55
treed1101d6d6a6b82ae21bfb312ae3a1e3a8e2d7c29
parent59db04b4683d5aeebf3d72e2ea9e8579d1602585
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