summaryrefslogtreecommitdiff
path: root/firmware/sb16
diff options
context:
space:
mode:
authorShu Wang <shuwang@redhat.com>2017-09-07 16:03:27 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-05 09:43:57 +0200
commit9a7bc3f0c76a49c71f507418c172f2af733ddea1 (patch)
tree2cbba6ae3967284264c984b79ef133768efc9758 /firmware/sb16
parentd59dabdc4cb380b79c965af28cd4ba001f04834b (diff)
cifs: release cifs root_cred after exit_cifs
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 <shuwang@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com> Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'firmware/sb16')
0 files changed, 0 insertions, 0 deletions