ipc: recompute msgmni on ipc namespace creation/removal
[safe/jmp/linux-2.6] / ipc / ipcns_notifier.c
index 0786af6..c797460 100644 (file)
@@ -29,6 +29,8 @@ static int ipcns_callback(struct notifier_block *self,
 
        switch (action) {
        case IPCNS_MEMCHANGED:   /* amount of lowmem has changed */
+       case IPCNS_CREATED:
+       case IPCNS_REMOVED:
                /*
                 * It's time to recompute msgmni
                 */