summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpi
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2008-06-11 02:46:34 +0000
committerhenning <henning@openbsd.org>2008-06-11 02:46:34 +0000
commit2ffcc479c53f4596ebafcc85c6c0bb3823f81b00 (patch)
treebef8ef2294610d80406dd973d6a8f842b808ddda /sys/dev/acpi
parentAvoid possible NULL pointer dereferences by using reentrant versions (diff)
downloadwireguard-openbsd-2ffcc479c53f4596ebafcc85c6c0bb3823f81b00.tar.xz
wireguard-openbsd-2ffcc479c53f4596ebafcc85c6c0bb3823f81b00.zip
store a pointer to the stack side state key in the mbuf packet
header inbound. on the outbound side, we take that and look for the key that is the exact opposite, and store that mapping in the state key. on subsequent packets we don't have to do the lookup on outbound any more. almost unable to get real benchmarks going here, we know for sure this gives a more than 5% increase in forwarding performance. many thanks to ckuethe for stress- and performance-testing. ok ryan theo
Diffstat (limited to 'sys/dev/acpi')
0 files changed, 0 insertions, 0 deletions