summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/reallocarray.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2019-01-09 01:17:09 +0000
committerdlg <dlg@openbsd.org>2019-01-09 01:17:09 +0000
commiteae94ed9eb20340a7671c85fe8b740c016831614 (patch)
tree976d200a845a19d168e0f58dd7d44fe7fb40c249 /lib/libc/stdlib/reallocarray.c
parentsplit if_enqueue up so drivers can replace ifq handling if needed (diff)
downloadwireguard-openbsd-eae94ed9eb20340a7671c85fe8b740c016831614.tar.xz
wireguard-openbsd-eae94ed9eb20340a7671c85fe8b740c016831614.zip
implement an if_enqueue handler for vlan(4)
this allows vlan packets to bypass the ifq handling, which allows packets to be encapsulated concurrently by any context. the code falls back to ifqs if hfsc is enabled on the vlan interface, otherwise it encaps the packet immedate and enqueues it on the parent interface. hrove popovski has seen a performance bump in certain configurations from this change. ok mpi@ no objections claudio@
Diffstat (limited to 'lib/libc/stdlib/reallocarray.c')
0 files changed, 0 insertions, 0 deletions