Messages in this thread Patch in this message | | | Date | Mon, 5 May 1997 04:08:03 -0400 | From | "David S. Miller" <> | Subject | Re: ISSUE: 2.1.37-pre2 - NULL pointer bug in shm_swap() code |
| |
Date: Fri, 2 May 1997 12:21:13 +0200 From: Wolfgang Wander <wwc@lars.desy.de>
However as soon as it comes to swapping of shm the kernel oopses:
Thanks Wolfgang for the extensive debugging on this one. The bug is my fault, please try this fix.
--- ipc/shm.c.~1~ Wed Apr 30 23:34:27 1997 +++ ipc/shm.c Mon May 5 04:05:56 1997 @@ -806,7 +806,7 @@ flush_tlb_page(shmd, tmp); /* continue looping through circular list */ } while (0); - if ((shmd = shmd->vm_next_share) == shp->attaches) + if ((shmd = shmd->vm_next_share) == NULL) break; }
| |