Revision 5618cf031fecda63847cafd1091e7b8bd626cdb1 authored by Luis Chamberlain on 30 November 2018, 22:09:21 UTC, committed by Linus Torvalds on 30 November 2018, 22:56:14 UTC
We free the misc device string twice on rmmod; fix this.  Without this
we cannot remove the module without crashing.

Link: http://lkml.kernel.org/r/20181124050500.5257-1-mcgrof@kernel.org
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: <stable@vger.kernel.org>	[4.12+]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent c7d7d62
History
File Mode Size
Kconfig -rw-r--r-- 2.0 KB
Makefile -rw-r--r-- 185 bytes
smack.h -rw-r--r-- 13.3 KB
smack_access.c -rw-r--r-- 16.8 KB
smack_lsm.c -rw-r--r-- 117.8 KB
smack_netfilter.c -rw-r--r-- 2.3 KB
smackfs.c -rw-r--r-- 69.4 KB

back to top