lkml.org 
[lkml]   [2004]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: 2.6.10-rc1-mm5
    Stas Sergeev <stsp@aknet.ru> wrote:
    >
    > Hi.
    >
    > Andrew Morton wrote:
    > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.10-rc1/2.6.10-rc1-mm5/
    > Here are the few new problems that
    > I've got:
    >
    > 1. Local APIC stopped working. I know
    > ...
    > 2. Radeon DRM driver stopped working.
    > ...
    > like an Oops in kprobes:
    > http://www.uwsg.iu.edu/hypermail/linux/kernel/0411.1/0895.html

    OK, I've passed these over to people who might be able to fix them.

    > (there is also a test-case)
    > and the memory corruption in smbfs:
    > http://marc.free.net.ph/message/20041027.000343.74f4a932.html
    >

    Here's a random hack for smbfs. Does it help?

    diff -puN fs/smbfs/request.c~smbfs-hack fs/smbfs/request.c
    --- 25/fs/smbfs/request.c~smbfs-hack 2004-11-13 13:36:28.158722944 -0800
    +++ 25-akpm/fs/smbfs/request.c 2004-11-13 13:37:20.721732152 -0800
    @@ -279,6 +279,7 @@ int smb_add_request(struct smb_request *
    long timeleft;
    struct smb_sb_info *server = req->rq_server;
    int result = 0;
    + int need_put = 0;

    smb_setup_request(req);
    if (req->rq_trans2_command) {
    @@ -343,7 +344,7 @@ int smb_add_request(struct smb_request *
    smb_lock_server(server);
    if (!(req->rq_flags & SMB_REQ_RECEIVED)) {
    list_del_init(&req->rq_queue);
    - smb_rput(req);
    + need_put = 1;
    }
    smb_unlock_server(server);
    }
    @@ -372,6 +373,8 @@ int smb_add_request(struct smb_request *
    req->rq_errno = smb_errno(req);
    if (signal_pending(current))
    req->rq_errno = -ERESTARTSYS;
    + if (need_put)
    + smb_rput(req);
    return req->rq_errno;
    }

    _
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:08    [W:0.026 / U:0.220 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site