mirror of https://github.com/sipwise/rtpengine.git
We don't track individual uses of the shared memory, so we can't safely free it when the mapping is closed, as the internal forwarding targets may still point into it. Delay freeing until the table itself is freed. Each mmap then counts as another reference on the table. Unmap then simply decreases the reference count but never actually frees the pages. Change-Id: Ic33454155cd0083f733711ce52699047cff9e56crfuchs/dtls-ice
parent
09ed1d3c20
commit
de961d5b43
Loading…
Reference in new issue