]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3763: diskd Error: no filename in shm buffer
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 16 Feb 2013 02:30:04 +0000 (19:30 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 16 Feb 2013 02:30:04 +0000 (19:30 -0700)
src/DiskIO/DiskDaemon/diskd.cc

index 60f844eba2cf1e742932637ad15367d183f29151..ec27bac95874c5a680dd41b8c6e6b1edcc7413dc 100644 (file)
@@ -266,7 +266,7 @@ msg_handle(diomsg * r, int rl, diomsg * s)
 
     if (s->shm_offset > -1)
         buf = shmbuf + s->shm_offset;
-    else {
+    else if (r->mtype != _MQD_CLOSE) {
         fprintf(stderr, "%d UNLNK id(%u) Error: no filename in shm buffer\n", (int) mypid, s->id);
         return;
     }