summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/evp/encode.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2016-05-03 12:19:13 +0000
committermpi <mpi@openbsd.org>2016-05-03 12:19:13 +0000
commitc9848acb71097a396bf02d311ed4518d81b34d54 (patch)
tree095cb9f8aaac57856d55ec114877ff870a6dbe1e /lib/libcrypto/evp/encode.c
parentUse a subshell for constructing key types to work around different sed (diff)
downloadwireguard-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