commit | f07502dae230a2c3b65381fd1b06e8a18b2c7525 | [log] [tgz] |
---|---|---|
author | Hugh Dickins <hugh.dickins@tiscali.co.uk> | Sat Jun 06 21:18:09 2009 +0100 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sat Jun 06 14:33:41 2009 -0700 |
tree | 0576d509666204c8c2ad3fd023c673b46f57bf78 | |
parent | 81ee1bad86bd6752c626018d43a74e3f81f1ae72 [diff] |
integrity: fix IMA inode leak CONFIG_IMA=y inode activity leaks iint_cache and radix_tree_node objects until the system runs out of memory. Nowhere is calling ima_inode_free() a.k.a. ima_iint_delete(). Fix that by calling it from destroy_inode(). Signed-off-by: Hugh Dickins <hugh.dickins@tiscali.co.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>