diff options
Diffstat (limited to 'ipc/util.c')
-rw-r--r-- | ipc/util.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ipc/util.c b/ipc/util.c index ff3323ef8d8b..537a41c7f633 100644 --- a/ipc/util.c +++ b/ipc/util.c | |||
@@ -467,10 +467,7 @@ void ipc_rcu_free(struct rcu_head *head) | |||
467 | { | 467 | { |
468 | struct ipc_rcu *p = container_of(head, struct ipc_rcu, rcu); | 468 | struct ipc_rcu *p = container_of(head, struct ipc_rcu, rcu); |
469 | 469 | ||
470 | if (is_vmalloc_addr(p)) | 470 | kvfree(p); |
471 | vfree(p); | ||
472 | else | ||
473 | kfree(p); | ||
474 | } | 471 | } |
475 | 472 | ||
476 | /** | 473 | /** |