]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - ipc/util.c
ipc/util.c: use kvfree() in ipc_rcu_free()
[mirror_ubuntu-bionic-kernel.git] / ipc / util.c
index ff3323ef8d8b4ea62f04306748e76cebd2f573e8..537a41c7f6339190fead16543da6e13448a44019 100644 (file)
@@ -467,10 +467,7 @@ void ipc_rcu_free(struct rcu_head *head)
 {
        struct ipc_rcu *p = container_of(head, struct ipc_rcu, rcu);
 
-       if (is_vmalloc_addr(p))
-               vfree(p);
-       else
-               kfree(p);
+       kvfree(p);
 }
 
 /**