mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Stas Sergeev <stsp@aknet.ru>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.10-rc1-mm5
Date: Sat, 13 Nov 2004 13:38:32 -0800	[thread overview]
Message-ID: <20041113133832.101db8d9.akpm@osdl.org> (raw)
In-Reply-To: <41967669.3070707@aknet.ru>

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;
 }
 
_


  reply	other threads:[~2004-11-13 21:38 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-13 21:02 2.6.10-rc1-mm5 Stas Sergeev
2004-11-13 21:38 ` Andrew Morton [this message]
2004-11-15 18:21   ` 2.6.10-rc1-mm5 Stas Sergeev
2004-11-13 22:13 ` 2.6.10-rc1-mm5 Zwane Mwaikambo
2004-11-13 22:47   ` 2.6.10-rc1-mm5 Stas Sergeev
2004-11-15  1:16     ` 2.6.10-rc1-mm5 Zwane Mwaikambo
2004-11-15  1:49       ` 2.6.10-rc1-mm5 Maciej W. Rozycki
2004-11-15  2:14         ` 2.6.10-rc1-mm5 Zwane Mwaikambo
2004-11-14  9:24 ` 2.6.10-rc1-mm5 Dave Airlie
2004-11-14 13:48   ` 2.6.10-rc1-mm5 Stas Sergeev
2004-11-15  1:19 ` 2.6.10-rc1-mm5 Maciej W. Rozycki
2004-11-15 18:05   ` 2.6.10-rc1-mm5 Stas Sergeev
2004-11-15 23:33     ` 2.6.10-rc1-mm5 Maciej W. Rozycki
2004-11-15 23:53       ` 2.6.10-rc1-mm5 Andrew Morton
2004-11-16  1:47         ` 2.6.10-rc1-mm5 Maciej W. Rozycki
2004-11-16 17:29       ` 2.6.10-rc1-mm5 Stas Sergeev
2004-11-16 23:35         ` 2.6.10-rc1-mm5 Maciej W. Rozycki
2004-11-18 14:53           ` 2.6.10-rc1-mm5 Stas Sergeev
2004-11-18 16:17             ` 2.6.10-rc1-mm5 Maciej W. Rozycki
2004-11-18 17:27               ` 2.6.10-rc1-mm5 Stas Sergeev
2004-11-18 18:37                 ` 2.6.10-rc1-mm5 Maciej W. Rozycki
  -- strict thread matches above, loose matches on Subject: below --
2004-11-14 12:11 2.6.10-rc1-mm5 Mikael Pettersson
2004-11-14 13:27 ` 2.6.10-rc1-mm5 Stas Sergeev
2004-11-13  0:30 2.6.10-rc1-mm5 Keshavamurthy, Anil S
2004-11-11  9:23 2.6.10-rc1-mm5 Andrew Morton
2004-11-11 10:09 ` 2.6.10-rc1-mm5 Magnus Damm
2004-11-11 10:11   ` 2.6.10-rc1-mm5 Andrew Morton
2004-11-11 10:24     ` 2.6.10-rc1-mm5 Magnus Damm
2004-11-11 10:45 ` 2.6.10-rc1-mm5 Brice Goglin
2004-11-11 11:00   ` 2.6.10-rc1-mm5 Stefano Rivoir
2004-11-11 11:13   ` 2.6.10-rc1-mm5 Andrew Morton
2004-11-11 11:04 ` 2.6.10-rc1-mm5 Markus Trippelsdorf
2004-11-11 11:08 ` 2.6.10-rc1-mm5 Andrew Morton
2004-11-11 21:55   ` 2.6.10-rc1-mm5 Martin J. Bligh
2004-11-11 22:14     ` 2.6.10-rc1-mm5 Andrew Morton
2004-11-12  9:27       ` 2.6.10-rc1-mm5 Jens Axboe
2004-11-11 22:41     ` 2.6.10-rc1-mm5 Andrew Morton
2004-11-12 19:00 ` 2.6.10-rc1-mm5 Alexander Nyberg
2004-11-13  0:11 ` 2.6.10-rc1-mm5 Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041113133832.101db8d9.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stsp@aknet.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®