eri c02a77e9f8 Avoid doing multiple route lookups for the same destination IP during forwarding
ip_forward() does a route lookup for testing this packet can be sent to a known destination,
it also can do another route lookup if it detects that an ICMP redirect is needed,
it forgets all of this and handovers to ip_output() to do the same lookup yet again.

This optimisation just does one route lookup during the forwarding path and handovers that to be considered by ip_output().

Differential Revision:	https://reviews.freebsd.org/D2964
Approved by:	ae, gnn(mentor)
MFC after:	1 week
2015-07-02 18:10:41 +00:00
..
2015-04-26 11:39:25 +00:00
2015-01-12 08:33:04 +00:00
2015-02-19 15:41:23 +00:00
2015-03-18 04:40:36 +00:00
2015-04-21 20:25:12 +00:00
2015-06-17 15:20:14 +00:00
2015-06-17 15:20:14 +00:00
2015-06-17 15:20:14 +00:00
2015-06-17 15:20:14 +00:00
2015-06-17 15:20:14 +00:00
2015-06-17 15:20:14 +00:00
2015-06-17 15:20:14 +00:00
2015-06-19 21:55:12 +00:00
2015-06-17 15:20:14 +00:00
2015-06-17 15:20:14 +00:00
2015-06-22 22:16:06 +00:00