Skip to content
Permalink
Browse files

avoid the STV_close() race for now

See #3190
  • Loading branch information
nigoroll committed Jan 14, 2020
1 parent 34b687e commit 4df4d2a497727a671d2f2b64d3ccd03fc4cbc3d6
Showing with 4 additions and 0 deletions.
  1. +4 −0 bin/varnishd/storage/storage_umem.c
@@ -431,8 +431,12 @@ smu_close(const struct stevedore *st, int warn)
CAST_OBJ_NOTNULL(smu_sc, st->priv, SMU_SC_MAGIC);
if (warn)
return;

#ifdef WORKAROUND_3190
/* see ticket 3190 for explanation */
umem_cache_destroyf(smu_sc->smu_cache);
smu_sc->smu_cache = NULL;
#endif

/*
XXX TODO?

0 comments on commit 4df4d2a

Please sign in to comment.
You can’t perform that action at this time.