]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r337776:
authorjtl <jtl@FreeBSD.org>
Tue, 14 Aug 2018 17:46:54 +0000 (17:46 +0000)
committerjtl <jtl@FreeBSD.org>
Tue, 14 Aug 2018 17:46:54 +0000 (17:46 +0000)
commit95d18bdb4de4bc81529cae34a3e1976145d6fcb1
treee5f0f834300d06c1fb474ee85e529d39984ec525
parentf0d4e7bdc43c2e330df8bf6cb1fca39295403ffd
MFC r337776:
  Improve IPv6 reassembly performance by hashing fragments into buckets.

  Currently, all IPv6 fragment reassembly queues are kept in a flat
  linked list. This has a number of implications. Two significant
  implications are: all reassembly operations share a common lock,
  and it is possible for the linked list to grow quite large.

  Improve IPv6 reassembly performance by hashing fragments into buckets,
  each of which has its own lock. Calculate the hash key using a Jenkins
  hash with a random seed.

Approved by: so
Security: FreeBSD-SA-18:10.ip
Security: CVE-2018-6923
sys/netinet6/frag6.c