diff options
author | André Goddard Rosa <andre.goddard@gmail.com> | 2010-03-11 00:21:22 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-13 00:52:32 +0100 |
commit | 6e3e37a5a7c91045497553bcbd6a5faea98b21b3 (patch) | |
tree | 10aabb16410477cb65057e96a3bff804423675e2 /drivers/net/cnic.h | |
parent | Add generic sys_olduname() (diff) | |
download | linux-6e3e37a5a7c91045497553bcbd6a5faea98b21b3.tar.xz linux-6e3e37a5a7c91045497553bcbd6a5faea98b21b3.zip |
coredump: plug a memory leak situation on dump_seek()
After having started writing the coredump, if filesystem reports an error
anytime while writing part of the core file, we would leak a memory page
when bailing out.
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Roland McGrath <roland@redhat.com>
Cc: WANG Cong <amwang@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net/cnic.h')
0 files changed, 0 insertions, 0 deletions