Files
linux/drivers
Neil Brown 644bd2f048 Fix memory leak in dm-crypt
dm-crypt used the ->bi_size member in the bio endio handling to
free the appropriate pages, but it frees all of it from both call
paths. With the ->bi_end_io() changes, ->bi_size was always 0 since
we don't do partial completes. This caused dm-crypt to leak memory.

Fix this by removing the size argument from crypt_free_buffer_pages().

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2007-10-16 13:48:46 +02:00
..
2007-10-14 12:41:51 -07:00
2007-10-16 11:21:00 +02:00
2007-10-16 13:48:46 +02:00
2007-10-16 11:20:59 +02:00
2007-10-16 11:24:45 +02:00
2007-10-16 11:21:00 +02:00
2007-10-16 11:24:44 +02:00
2007-10-14 08:53:33 -07:00
2007-10-16 11:20:59 +02:00