summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_task.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2014-06-11 04:28:43 +0000
committerdlg <dlg@openbsd.org>2014-06-11 04:28:43 +0000
commitca79bba1fcb12be95c1dc4f3829f62ebc69670d6 (patch)
tree23de29883ea6e0ca7ec68edc398214218f691e04 /sys/kern/kern_task.c
parentc-file-style hints, begone; ok beck (diff)
downloadwireguard-openbsd-ca79bba1fcb12be95c1dc4f3829f62ebc69670d6.tar.xz
wireguard-openbsd-ca79bba1fcb12be95c1dc4f3829f62ebc69670d6.zip
em(4) receives jumbos by chaining its MCLBYTES sized descriptors
together, so to receive a full 9000 byte frame, it needs 5 descriptors. its current mclgeti low watermark is 4. it appears that the chip will block if it has rxed a packet into its internal buffers waiting for descriptors. if you're at the lwm, that means you're DoSed. this raises the lwm so we can get at least two jumbos, ie, 10 descriptors. ok deraadt@
Diffstat (limited to 'sys/kern/kern_task.c')
0 files changed, 0 insertions, 0 deletions