summaryrefslogtreecommitdiff
path: root/sys/dev/usb/ehci.c
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2016-07-20 09:15:29 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2016-07-20 09:15:29 +0000
commitae03de5b42a499a45ff116b87ba7e8b9e7144bab (patch)
treecfe581f5d9d7031fe283251e62c365faedc58d9b /sys/dev/usb/ehci.c
parent2f109fd72a142902e14827c24ffb16a849b1bc94 (diff)
Make the size for the syn cache hash array tunable. As we are
swapping between two syn caches for random reseeding anyway, this feature can be added easily. When the cache is empty, there is an opportunity to change the hash size. This allows an admin under SYN flood attack to defend his machine. Suggested by claudio@; OK jung@ claudio@ jmc@
Diffstat (limited to 'sys/dev/usb/ehci.c')
0 files changed, 0 insertions, 0 deletions