commit | c49568235dd7b4a2ffad63aa950562f4ffb9455f | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <[email protected]> | Tue Jun 30 11:41:25 2009 -0700 |
committer | Linus Torvalds <[email protected]> | Tue Jun 30 18:56:00 2009 -0700 |
tree | fbfcc2e0ffc4a82bd9f481e1a746bfb49955800f | |
parent | 4d6c13f87db12ae1ce35ea6a15688ac72419b133 [diff] |
dmapools: protect page_list walk in show_pools() show_pools() walks the page_list of a pool w/o protection against the list modifications in alloc/free. Take pool->lock to avoid stomping into nirvana. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Matthew Wilcox <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>