summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diffreg.c
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2007-05-29 17:46:24 +0000
committerhenning <henning@openbsd.org>2007-05-29 17:46:24 +0000
commit3abc5a4238c76830d5e59301736241a5f4a2e2e2 (patch)
tree7f6db33ea9fa09f2a0eefeda5a2ce476502dbdbc /usr.bin/diff/diffreg.c
parentmissing couple of #ifdef DIAGNOSTIC and style nits from art@ (diff)
downloadwireguard-openbsd-3abc5a4238c76830d5e59301736241a5f4a2e2e2.tar.xz
wireguard-openbsd-3abc5a4238c76830d5e59301736241a5f4a2e2e2.zip
gain another 5+% in ip forwarding performance.
boring details: skip looking for ipsec tags and descending into ip_spd_lookup if there are no ipsec flows, except in one case in ip_output (spotted by markus) where we have to if we have a pcb. ip_spd_lookup has the shortcut already, but there is enough work done before so that skipping that gains us about 5%. ok theo, markus
Diffstat (limited to 'usr.bin/diff/diffreg.c')
0 files changed, 0 insertions, 0 deletions