diff options
author | Steve French <stfrench@microsoft.com> | 2019-07-23 22:14:29 -0500 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2019-08-04 22:02:29 -0500 |
commit | 247bc9470b1eeefc7b58cdf2c39f2866ba651509 (patch) | |
tree | a305446a46d6bb639929e85181ac1002440cbebe /fs/cifs | |
parent | e21a712a9685488f5ce80495b37b9fdbe96c230d (diff) | |
download | linux-247bc9470b1eeefc7b58cdf2c39f2866ba651509.tar.bz2 |
cifs: fix rmmod regression in cifs.ko caused by force_sig changes
Fixes: 72abe3bcf091 ("signal/cifs: Fix cifs_put_tcp_session to call send_sig instead of force_sig")
The global change from force_sig caused module unloading of cifs.ko
to fail (since the cifsd process could not be killed, "rmmod cifs"
now would always fail)
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
CC: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/connect.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index a4830ced0f98..a15a6e738eb5 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -1113,6 +1113,7 @@ cifs_demultiplex_thread(void *p) mempool_resize(cifs_req_poolp, length + cifs_min_rcv); set_freezable(); + allow_signal(SIGKILL); while (server->tcpStatus != CifsExiting) { if (try_to_freeze()) continue; |