Skip to content

Commit 247bc94

Browse files
author
Steve French
committed
cifs: fix rmmod regression in cifs.ko caused by force_sig changes
Fixes: 72abe3b ("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 <[email protected]> Reviewed-by: Ronnie Sahlberg <[email protected]> CC: Eric W. Biederman <[email protected]>
1 parent e21a712 commit 247bc94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/cifs/connect.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,6 +1113,7 @@ cifs_demultiplex_thread(void *p)
11131113
mempool_resize(cifs_req_poolp, length + cifs_min_rcv);
11141114

11151115
set_freezable();
1116+
allow_signal(SIGKILL);
11161117
while (server->tcpStatus != CifsExiting) {
11171118
if (try_to_freeze())
11181119
continue;

0 commit comments

Comments
 (0)