Unverified Commit 727569fa authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!11609 fscache: delete fscache_cookie_lru_timer when fscache exits to avoid UAF

parents a5bfa15d 86331489
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -114,6 +114,7 @@ static void __exit fscache_exit(void)

	kmem_cache_destroy(fscache_cookie_jar);
	fscache_proc_cleanup();
	timer_shutdown_sync(&fscache_cookie_lru_timer);
	destroy_workqueue(fscache_wq);
	pr_notice("Unloaded\n");
}