libc/newlib/libc/sys
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
..
a29khif Add nvptx port. 2018-04-13 15:42:37 -04:00
arm Add nvptx port. 2018-04-13 15:42:37 -04:00
d10v Add nvptx port. 2018-04-13 15:42:37 -04:00
decstation Add nvptx port. 2018-04-13 15:42:37 -04:00
epiphany Add nvptx port. 2018-04-13 15:42:37 -04:00
h8300hms Add nvptx port. 2018-04-13 15:42:37 -04:00
h8500hms Add nvptx port. 2018-04-13 15:42:37 -04:00
linux Add nvptx port. 2018-04-13 15:42:37 -04:00
m88kbug Add nvptx port. 2018-04-13 15:42:37 -04:00
mmixware Add nvptx port. 2018-04-13 15:42:37 -04:00
netware Add nvptx port. 2018-04-13 15:42:37 -04:00
or1k Add nvptx port. 2018-04-13 15:42:37 -04:00
phoenix Add nvptx port. 2018-04-13 15:42:37 -04:00
rdos Add nvptx port. 2018-04-13 15:42:37 -04:00
rtems Implement a limit on on the number of IPv6 reassembly 2018-08-24 15:00:04 +02:00
sh Add nvptx port. 2018-04-13 15:42:37 -04:00
sparc64 Add nvptx port. 2018-04-13 15:42:37 -04:00
sun4 Add nvptx port. 2018-04-13 15:42:37 -04:00
sysmec Add nvptx port. 2018-04-13 15:42:37 -04:00
sysnec810 Add nvptx port. 2018-04-13 15:42:37 -04:00
sysnecv850 Add nvptx port. 2018-04-13 15:42:37 -04:00
sysvi386 Add nvptx port. 2018-04-13 15:42:37 -04:00
sysvnecv70 Add nvptx port. 2018-04-13 15:42:37 -04:00
tic80 Add nvptx port. 2018-04-13 15:42:37 -04:00
tirtos Add nvptx port. 2018-04-13 15:42:37 -04:00
w65 Add nvptx port. 2018-04-13 15:42:37 -04:00
z8ksim Add nvptx port. 2018-04-13 15:42:37 -04:00
Makefile.am Make newlib manpages (v3) 2016-07-04 14:17:10 +01:00
Makefile.in Regenerate newlib Makefiles 2016-07-04 17:13:55 +01:00
aclocal.m4 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
configure Add nvptx port. 2018-04-13 15:42:37 -04:00
configure.in Add port for Phoenix-RTOS in common configure files. 2016-05-09 15:23:58 -04:00