The patch titled i2o message leak in i2o_msg_post_wait_mem() has been added to the -mm tree. Its filename is i2o-message-leak-in-i2o_msg_post_wait_mem.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: i2o message leak in i2o_msg_post_wait_mem() From: Vasily Averin <vvs@xxxxx> We need to free i2o msg in case of error. Signed-off-by: Vasily Averin <vvs@xxxxx> Acked-by: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> Cc: Markus Lidel <Markus.Lidel@xxxxxxxxxxxxxxxxx> Acked-by: Kirill Korotaev <dev@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/message/i2o/exec-osm.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) diff -puN drivers/message/i2o/exec-osm.c~i2o-message-leak-in-i2o_msg_post_wait_mem drivers/message/i2o/exec-osm.c --- a/drivers/message/i2o/exec-osm.c~i2o-message-leak-in-i2o_msg_post_wait_mem +++ a/drivers/message/i2o/exec-osm.c @@ -131,8 +131,10 @@ int i2o_msg_post_wait_mem(struct i2o_con int rc = 0; wait = i2o_exec_wait_alloc(); - if (!wait) + if (!wait) { + i2o_msg_nop(c, msg); return -ENOMEM; + } if (tcntxt == 0xffffffff) tcntxt = 0x80000000; _ Patches currently in -mm which might be from vvs@xxxxx are i2o_cfg_passthru-cleanup.patch i2o_cfg_passthru-cleanup-fix.patch wrong-memory-access-in-i2o_block_device_lock.patch i2o-message-leak-in-i2o_msg_post_wait_mem.patch i2o-proc-reading-oops.patch i2o-debug-output-cleanup.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html