Skip to content
Commit 51a08bde authored by Vincent Whitchurch's avatar Vincent Whitchurch Committed by Steve French
Browse files

cifs: Fix crash on unload of cifs_arc4.ko



The exit function is wrongly placed in the __init section and this leads
to a crash when the module is unloaded.  Just remove both the init and
exit functions since this module does not need them.

Fixes: 71c02863 ("cifs: fork arc4 and create a separate module...")
Signed-off-by: default avatarVincent Whitchurch <vincent.whitchurch@axis.com>
Acked-by: default avatarRonnie Sahlberg <lsahlber@redhat.com>
Acked-by: default avatarPaulo Alcantara (SUSE) <pc@cjr.nz>
Cc: stable@vger.kernel.org # 5.15
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 0fcfb00b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment