CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2016/05/03 06:19:13

Modified files:
        sys/netinet    : ip_input.c 

Log message:
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@

Reply via email to