From d78b7c8ffaff8edc6cf4fbfd75659ce02f9121bf Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 28 Sep 2017 16:27:09 +0200 Subject: [PATCH] drop broken 4.4 cifs patch --- ...lease-cifs-root_cred-after-exit_cifs.patch | 47 ------------------- queue-4.4/series | 1 - 2 files changed, 48 deletions(-) delete mode 100644 queue-4.4/cifs-release-cifs-root_cred-after-exit_cifs.patch diff --git a/queue-4.4/cifs-release-cifs-root_cred-after-exit_cifs.patch b/queue-4.4/cifs-release-cifs-root_cred-after-exit_cifs.patch deleted file mode 100644 index 07ec597926e..00000000000 --- a/queue-4.4/cifs-release-cifs-root_cred-after-exit_cifs.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 94183331e815617246b1baa97e0916f358c794bb Mon Sep 17 00:00:00 2001 -From: Shu Wang -Date: Thu, 7 Sep 2017 16:03:27 +0800 -Subject: cifs: release cifs root_cred after exit_cifs - -From: Shu Wang - -commit 94183331e815617246b1baa97e0916f358c794bb upstream. - -memory leak was found by kmemleak. exit_cifs_spnego -should be called before cifs module removed, or -cifs root_cred will not be released. - -kmemleak report: -unreferenced object 0xffff880070a3ce40 (size 192): - backtrace: - kmemleak_alloc+0x4a/0xa0 - kmem_cache_alloc+0xc7/0x1d0 - prepare_kernel_cred+0x20/0x120 - init_cifs_spnego+0x2d/0x170 [cifs] - 0xffffffffc07801f3 - do_one_initcall+0x51/0x1b0 - do_init_module+0x60/0x1fd - load_module+0x161e/0x1b60 - SYSC_finit_module+0xa9/0x100 - SyS_finit_module+0xe/0x10 - -Signed-off-by: Shu Wang -Signed-off-by: Steve French -Reviewed-by: Ronnie Sahlberg -Signed-off-by: Greg Kroah-Hartman - ---- - fs/cifs/cifsfs.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/fs/cifs/cifsfs.c -+++ b/fs/cifs/cifsfs.c -@@ -1294,7 +1294,7 @@ exit_cifs(void) - exit_cifs_idmap(); - #endif - #ifdef CONFIG_CIFS_UPCALL -- unregister_key_type(&cifs_spnego_key_type); -+ exit_cifs_spnego(); - #endif - cifs_destroy_request_bufs(); - cifs_destroy_mids(); diff --git a/queue-4.4/series b/queue-4.4/series index 718257a2567..1d748c2b5be 100644 --- a/queue-4.4/series +++ b/queue-4.4/series @@ -1,2 +1 @@ -cifs-release-cifs-root_cred-after-exit_cifs.patch cifs-release-auth_key.response-for-reconnect.patch -- 2.47.3