diff options
author | Zhenlei Huang <zlei@FreeBSD.org> | 2025-06-28 15:46:51 +0000 |
---|---|---|
committer | Zhenlei Huang <zlei@FreeBSD.org> | 2025-07-08 10:03:29 +0000 |
commit | 0a5e8108bf20d9d40d473f3a7f04cff7abb1ffa8 (patch) | |
tree | 040835f224be5335936198977e6baa25ae06448b /lib/libfetch/common.h | |
parent | 9d53e7eaab9e2e75491941dc035a345bc0f39c99 (diff) |
pfsync: Allocate and initialize buckets before attaching the interfacestable/13
This prevents a potential race that the ioctl threads see NULL or
uninitialized buckets.
Reviewed by: kp
Fixes: 4fc65bcbe3fb pfsync: Performance improvement
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D51064
(cherry picked from commit edc307eca9a9a9b0ce7445cff513b48f6489e5c6)
(cherry picked from commit 8cc376735c65a18c53a70c30957a5f56dd066b79)
Diffstat (limited to 'lib/libfetch/common.h')
0 files changed, 0 insertions, 0 deletions