search for: smbiod_flush

Displaying 1 result from an estimated 1 matches for "smbiod_flush".

2006 May 11
1
Re: [PATCH] smbfs: Fix slab corruption in samba error path
...req->rq_queue); > smb_rput(req); > } > smb_unlock_server(server); > } > [...] > if (signal_pending(current)) > req->rq_errno = -ERESTARTSYS; > > I guess that some codepath like smbiod_flush() caused the request > to be removed from the queue, and smb_rput(req) be called, without > SMB_REQ_RECEIVED being set. This violates an asumption made by the > quoted code. > > Then, the above code calls smb_rput(req) again, the req gets freed, > and req->rq_errno = -ERESTART...