summaryrefslogtreecommitdiffstats
path: root/usr.sbin/switchd/proc.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2018-09-10 11:37:26 +0000
committerbluhm <bluhm@openbsd.org>2018-09-10 11:37:26 +0000
commit43fdd32499e83ef20504df8406572feafca3bcdb (patch)
tree7eb3edbf808ddcf6f4dd0bdea3b4a9b16fae0c1f /usr.sbin/switchd/proc.c
parentuse filterset_move() like all other network statements. It checks for (diff)
downloadwireguard-openbsd-43fdd32499e83ef20504df8406572feafca3bcdb.tar.xz
wireguard-openbsd-43fdd32499e83ef20504df8406572feafca3bcdb.zip
Limit the fragment entry queue length to 64 per bucket. So we have
a global limit of 1024 fragments, but it is fine grained to the region of the packet. Smaller packets may have less fragments. This costs another 16 bytes of memory per reassembly and devides the worst case for searching by 8. requestd by claudio@; OK sashan@ claudio@
Diffstat (limited to 'usr.sbin/switchd/proc.c')
0 files changed, 0 insertions, 0 deletions