libc/newlib/libc/sys/rtems/include
jtl 823b096471 Implement a limit on on the number of IPv6 reassembly
queues per bucket.

There is a hashing algorithm which should distribute IPv6 reassembly
queues across the available buckets in a relatively even way. However,
if there is a flaw in the hashing algorithm which allows a large number
of IPv6 fragment reassembly queues to end up in a single bucket, a per-
bucket limit could help mitigate the performance impact of this flaw.

Implement such a limit, with a default of twice the maximum number of
reassembly queues divided by the number of buckets. Recalculate the
limit any time the maximum number of reassembly queues changes.
However, allow the user to override the value using a sysctl
(net.inet6.ip6.maxfragbucketsize).

Reviewed by:	jhb
Security:	FreeBSD-SA-18:10.ip
Security:	CVE-2018-6923
2018-08-24 15:00:04 +02:00
..
arpa SPDX: license IDs for some ISC-related files. 2018-08-24 15:00:03 +02:00
machine RTEMS: Unconditionally define _off_t to int64_t 2018-07-20 06:53:21 +02:00
net iflib(9): Add support for cloning pseudo interfaces 2018-08-24 15:00:04 +02:00
netinet This commit brings in a new refactored TCP stack called Rack. 2018-08-24 15:00:04 +02:00
netinet6 Implement a limit on on the number of IPv6 reassembly 2018-08-24 15:00:04 +02:00
sys Load balance sockets with new SO_REUSEPORT_LB option. 2018-08-24 15:00:04 +02:00
limits.h RTEMS: Increase SEM_VALUE_MAX 2016-12-20 12:39:31 +01:00
netdb.h SPDX: license IDs for some ISC-related files. 2018-08-24 15:00:03 +02:00
semaphore.h RTEMS: Make sem_t self-contained 2017-10-05 14:56:12 +02:00
syslog.h Add some POSIX header files for RTEMS 2017-05-25 12:41:33 -04:00
termios.h include: further adoption of SPDX licensing ID tags. 2018-08-24 15:00:03 +02:00