Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 157543 Details for
Bug 206123
cifsd is not userspace signal-safe
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch -- use force_sig instead of send_sig
linux-2.6-cifsd-forcesig.patch (text/plain), 1.45 KB, created by
Jeff Layton
on 2007-06-21 14:37:58 UTC
(
hide
)
Description:
patch -- use force_sig instead of send_sig
Filename:
MIME Type:
Creator:
Jeff Layton
Created:
2007-06-21 14:37:58 UTC
Size:
1.45 KB
patch
obsolete
>diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c >index f4e9266..27c1ebe 100644 >--- a/fs/cifs/connect.c >+++ b/fs/cifs/connect.c >@@ -348,7 +348,6 @@ cifs_demultiplex_thread(struct TCP_Server_Info *server) > int isMultiRsp; > int reconnect; > >- allow_signal(SIGKILL); > current->flags |= PF_MEMALLOC; > server->tsk = current; /* save process info to wake at shutdown */ > cFYI(1, ("Demultiplex PID: %d", current->pid)); >@@ -2074,7 +2073,7 @@ cifs_mount(struct super_block *sb, struct cifs_sb_info *cifs_sb, > always wake up processes blocked in > tcp in recv_mesg then we could remove the > send_sig call */ >- send_sig(SIGKILL,srvTcp->tsk,1); >+ force_sig(SIGKILL,srvTcp->tsk); > tsk = srvTcp->tsk; > if(tsk) > kthread_stop(tsk); >@@ -2093,7 +2092,7 @@ cifs_mount(struct super_block *sb, struct cifs_sb_info *cifs_sb, > if ((temp_rc == -ESHUTDOWN) && > (pSesInfo->server) && (pSesInfo->server->tsk)) { > struct task_struct *tsk; >- send_sig(SIGKILL,pSesInfo->server->tsk,1); >+ force_sig(SIGKILL,pSesInfo->server->tsk); > tsk = pSesInfo->server->tsk; > if (tsk) > kthread_stop(tsk); >@@ -3345,7 +3344,7 @@ cifs_umount(struct super_block *sb, struct cifs_sb_info *cifs_sb) > } else if (rc == -ESHUTDOWN) { > cFYI(1,("Waking up socket by sending it signal")); > if (cifsd_task) { >- send_sig(SIGKILL,cifsd_task,1); >+ force_sig(SIGKILL,cifsd_task); > kthread_stop(cifsd_task); > } > rc = 0;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 206123
:
155742
|
155749
|
155981
|
156590
| 157543