summaryrefslogtreecommitdiffstats
path: root/kernel/ipc/msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/ipc/msg.c')
-rw-r--r--kernel/ipc/msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/ipc/msg.c b/kernel/ipc/msg.c
index b8c5e7f2b..996d89023 100644
--- a/kernel/ipc/msg.c
+++ b/kernel/ipc/msg.c
@@ -666,7 +666,7 @@ long do_msgsnd(int msqid, long mtype, void __user *mtext,
rcu_read_lock();
ipc_lock_object(&msq->q_perm);
- ipc_rcu_putref(msq, ipc_rcu_free);
+ ipc_rcu_putref(msq, msg_rcu_free);
/* raced with RMID? */
if (!ipc_valid_object(&msq->q_perm)) {
err = -EIDRM;