diff options
author | 2016-05-03 12:19:13 +0000 | |
---|---|---|
committer | 2016-05-03 12:19:13 +0000 | |
commit | c9848acb71097a396bf02d311ed4518d81b34d54 (patch) | |
tree | 095cb9f8aaac57856d55ec114877ff870a6dbe1e /lib/libcrypto/evp/encode.c | |
parent | Use a subshell for constructing key types to work around different sed (diff) | |
download | wireguard-openbsd-c9848acb71097a396bf02d311ed4518d81b34d54.tar.xz wireguard-openbsd-c9848acb71097a396bf02d311ed4518d81b34d54.zip |
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 'lib/libcrypto/evp/encode.c')
0 files changed, 0 insertions, 0 deletions