mirror_ubuntu-kernels/fs/smbfs_common
Vincent Whitchurch d78569c335 cifs: Fix crash on unload of cifs_arc4.ko
BugLink: https://bugs.launchpad.net/bugs/1954931

commit 51a08bdeca upstream.

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: 71c0286324 ("cifs: fork arc4 and create a separate module...")
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Acked-by: Ronnie Sahlberg <lsahlber@redhat.com>
Acked-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Cc: stable@vger.kernel.org # 5.15
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
2022-01-04 09:49:16 +01:00
..
arc4.h
cifs_arc4.c
cifs_md4.c
Makefile
md4.h
smbfsctl.h