search for: smb_request_recv

Displaying 3 results from an estimated 3 matches for "smb_request_recv".

2005 Mar 25
2
[2.6 patch] fs/smbfs/request.c: fix NULL dereference
...ferenced (look at the last line of this patch). Signed-off-by: Adrian Bunk <bunk@stusta.de> --- linux-2.6.12-rc1-mm2-full/fs/smbfs/request.c.old 2005-03-25 00:45:08.000000000 +0100 +++ linux-2.6.12-rc1-mm2-full/fs/smbfs/request.c 2005-03-25 00:47:14.000000000 +0100 @@ -783,20 +783,23 @@ int smb_request_recv(struct smb_sb_info break; break; /* We should never be called with any of these states */ case SMB_RECV_END: case SMB_RECV_REQUEST: server->rstate = SMB_RECV_END; break; } + if (!req) + return -ENOMEM; + if (result < 0) { /* We saw an error */ return result...
2005 Jan 04
0
[2.6 patch] smbfs: make some functions static
...int bufsize); -extern void smb_rget(struct smb_request *req); extern void smb_rput(struct smb_request *req); extern int smb_add_request(struct smb_request *req); -extern int smb_request_send_req(struct smb_request *req); extern int smb_request_send_server(struct smb_sb_info *server); extern int smb_request_recv(struct smb_sb_info *server); /* symlink.c */ --- linux-2.6.10-mm1-full/fs/smbfs/inode.c.old 2005-01-04 00:57:57.000000000 +0100 +++ linux-2.6.10-mm1-full/fs/smbfs/inode.c 2005-01-04 00:58:02.000000000 +0100 @@ -493,7 +493,7 @@ smb_kfree(server); } -int smb_fill_super(struct super_block *sb, v...
2006 May 11
1
Re: [PATCH] smbfs: Fix slab corruption in samba error path
Jan Niehusmann <jan@gondor.com> wrote: > > Yesterday, I got the following error with 2.6.16.13 during a file copy > from a smb filesystem over a wireless link. I guess there was some error > on the wireless link, which in turn caused an error condition for the > smb filesystem. > > In the log, smb_file_read reports error=4294966784 (0xfffffe00), which > also shows up