aboutsummaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
Diffstat (limited to 'ipc')
-rw-r--r--ipc/mqueue.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ipc/mqueue.c b/ipc/mqueue.c
index 145d5a0d299f..24df3347ad4b 100644
--- a/ipc/mqueue.c
+++ b/ipc/mqueue.c
@@ -521,8 +521,7 @@ static void __do_notify(struct mqueue_inode_info *info)
521 break; 521 break;
522 case SIGEV_THREAD: 522 case SIGEV_THREAD:
523 set_cookie(info->notify_cookie, NOTIFY_WOKENUP); 523 set_cookie(info->notify_cookie, NOTIFY_WOKENUP);
524 netlink_sendskb(info->notify_sock, 524 netlink_sendskb(info->notify_sock, info->notify_cookie);
525 info->notify_cookie, 0);
526 break; 525 break;
527 } 526 }
528 /* after notification unregisters process */ 527 /* after notification unregisters process */
@@ -568,7 +567,7 @@ static void remove_notification(struct mqueue_inode_info *info)
568 if (info->notify_owner != NULL && 567 if (info->notify_owner != NULL &&
569 info->notify.sigev_notify == SIGEV_THREAD) { 568 info->notify.sigev_notify == SIGEV_THREAD) {
570 set_cookie(info->notify_cookie, NOTIFY_REMOVED); 569 set_cookie(info->notify_cookie, NOTIFY_REMOVED);
571 netlink_sendskb(info->notify_sock, info->notify_cookie, 0); 570 netlink_sendskb(info->notify_sock, info->notify_cookie);
572 } 571 }
573 put_pid(info->notify_owner); 572 put_pid(info->notify_owner);
574 info->notify_owner = NULL; 573 info->notify_owner = NULL;