Displaying 2 results from an estimated 2 matches for "smb_req_received".
2006 May 11
1
Re: [PATCH] smbfs: Fix slab corruption in samba error path
...pending(current)) {
> /*
> * On timeout or on interrupt we want to try and remove the
> * request from the recvq/xmitq.
> */
> smb_lock_server(server);
> if (!(req->rq_flags & SMB_REQ_RECEIVED)) {
> list_del_init(&req->rq_queue);
> smb_rput(req);
> }
> smb_unlock_server(server);
> }
> [...]
> if (signal_pending(current))
> req->rq_errno = -ERE...
2007 Jul 18
1
smbfs patch for 2.6 [PATCH]
...trol4.com
#
#
--- linux-2.6.21.4/fs/smbfs/request.c 2007-06-07 15:27:31.000000000 -0600
+++ linux-2.6.21.4.new/smbfs/request.c 2007-07-18 00:01:24.000000000 -0600
@@ -333,7 +333,7 @@
smbiod_wake_up();
timeleft = wait_event_interruptible_timeout(req->rq_wait,
- req->rq_flags & SMB_REQ_RECEIVED, 30*HZ);
+ req->rq_flags & SMB_REQ_RECEIVED, 10*HZ);
if (!timeleft || signal_pending(current)) {
/*
* On timeout or on interrupt we want to try and remove the
--- linux-2.6.21.4/fs/smbfs/smbiod.c 2007-06-07 15:27:31.000000000 -0600
+++ linux-2.6.21.4.new/smbfs/smbiod.c 2007-0...