]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - ipc/ipcns_notifier.c
ipc: recompute msgmni on ipc namespace creation/removal
[karo-tx-linux.git] / ipc / ipcns_notifier.c
index 0786af6ce3ecdc36c63cb998363730b2b0c7ec42..c7974609defc76ba57f96bd852f5efae68d9e870 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
                 */