mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
Move the cache lock up to the allocator of the cache pages. There is a possible race between tuxtxt_allocate_page and tuxtxt_clear_pages. One customer reported repeated crashes while zapping. Debugging the core dump lead me to believe there is a race going on as the variables appeared to have been erased while it was allocating a page, and in the end crashing on an unallocated page. git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1396 e54a6e83-5905-42d5-8d5c-058d10e6a962