The patch titled kmod: release sub_info on cred allocation failure has been removed from the -mm tree. Its filename was kmod-release-sub_info-on-cred-allocation-failure.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: kmod: release sub_info on cred allocation failure From: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> call_usermodehelper_setup() forgot to kfree(sub_info) when prepare_usermodehelper_creds() failed. Signed-off-by: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> Signed-off-by: David Howells <dhowells@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/kmod.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff -puN kernel/kmod.c~kmod-release-sub_info-on-cred-allocation-failure kernel/kmod.c --- a/kernel/kmod.c~kmod-release-sub_info-on-cred-allocation-failure +++ a/kernel/kmod.c @@ -370,8 +370,10 @@ struct subprocess_info *call_usermodehel sub_info->argv = argv; sub_info->envp = envp; sub_info->cred = prepare_usermodehelper_creds(); - if (!sub_info->cred) + if (!sub_info->cred) { + kfree(sub_info); return NULL; + } out: return sub_info; _ Patches currently in -mm which might be from penguin-kernel@xxxxxxxxxxxxxxxxxxx are origin.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