summaryrefslogtreecommitdiff
path: root/sys/netinet/in.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2016-05-03 12:19:14 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2016-05-03 12:19:14 +0000
commitff96b2ee8eb575a75fa96817d1a60615703489df (patch)
tree4bbbd1643543f7e32bc85b4765de01db162e17e2 /sys/netinet/in.c
parent4eddba62757c380d64cb368c64eef920d18e4c5b (diff)
Make ip_forward() use the route entry fetched in in_ouraddr() when it is
possible. This reduce the number of lookups to 1 for non-multicast traffic when PF is disable. Tested by Hrvoje Popovski who confirmed that benchmark numbers are now as good as with a single cache entry. ok visa@, bluhm@
Diffstat (limited to 'sys/netinet/in.c')
0 files changed, 0 insertions, 0 deletions