summaryrefslogtreecommitdiff
path: root/src/ipcpd/unicast/pff/alternate.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2026-06-21 12:41:39 +0200
committerSander Vrijders <sander@ouroboros.rocks>2026-06-29 08:32:59 +0200
commit64792da0de8724bb85e9e3cf114c452995c24140 (patch)
treec051f3e7a2d55de8a2632049c5cbf84d43c0c39c /src/ipcpd/unicast/pff/alternate.c
parentb46359c11b879d610997eb1e9069e943e19c4244 (diff)
downloadouroboros-64792da0de8724bb85e9e3cf114c452995c24140.tar.gz
ouroboros-64792da0de8724bb85e9e3cf114c452995c24140.zip
ipcpd: Use hash_mix64 for pft keys
Drops the per-table hash_key flag and the local MD5 hash() helper. The calc_key function now folds the key with hash_mix64 unconditionally. Simplifies pft_create, which no longer takes a bool. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/ipcpd/unicast/pff/alternate.c')
-rw-r--r--src/ipcpd/unicast/pff/alternate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/unicast/pff/alternate.c b/src/ipcpd/unicast/pff/alternate.c
index be1c35c0..1c508c1b 100644
--- a/src/ipcpd/unicast/pff/alternate.c
+++ b/src/ipcpd/unicast/pff/alternate.c
@@ -211,7 +211,7 @@ struct pff_i * alternate_pff_create(void)
if (pthread_rwlock_init(&tmp->lock, NULL))
goto fail_lock;
- tmp->pft = pft_create(PFT_SIZE, false);
+ tmp->pft = pft_create(PFT_SIZE);
if (tmp->pft == NULL)
goto fail_pft;