summaryrefslogtreecommitdiffstats
path: root/include/linux/prctl.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2008-10-22 13:57:07 -0400
committerSteve French <sfrench@us.ibm.com>2008-10-23 05:06:20 +0000
commitb1c8d2b421376bc941823ee93e36cb491609b02c (patch)
tree40908334b5a289ef7e6337d14d29104cc2bd79e2 /include/linux/prctl.h
parent8d281efb67463fe8aac8f6e10b31492fc218bf2b (diff)
downloadop-kernel-dev-b1c8d2b421376bc941823ee93e36cb491609b02c.zip
op-kernel-dev-b1c8d2b421376bc941823ee93e36cb491609b02c.tar.gz
cifs: handle the TCP_Server_Info->tsk field more carefully
cifs: handle the TCP_Server_Info->tsk field more carefully We currently handle the TCP_Server_Info->tsk field without any locking, but with some half-measures to try and prevent races. These aren't really sufficient though. When taking down cifsd, use xchg() to swap the contents of the tsk field with NULL so we don't end up trying to send it more than one signal. Also, don't allow cifsd to exit until the signal is received if we expect one. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'include/linux/prctl.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud