From: Kirill Korotaev <kirillx@7ka.mipt.ru>
To: marcelo.tosatti@cyclades.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] memory access to free memory in 2.4.x
Date: Sat, 10 Apr 2004 10:11:35 +0400 [thread overview]
Message-ID: <8110174006.20040410101135@7ka.mipt.ru> (raw)
In-Reply-To: <403331971.20040410095137@7ka.mipt.ru>
[-- Attachment #1: Type: text/plain, Size: 54 bytes --]
memory access to files which are already put.
Kirill
[-- Attachment #2: proc-putfiles.diff --]
[-- Type: application/octet-stream, Size: 293 bytes --]
--- linux-2.4.20/fs/proc/base.c.saved Sat Apr 5 13:57:45 2003
+++ linux-2.4.20/fs/proc/base.c Sat Apr 5 13:58:03 2003
@@ -825,8 +825,8 @@
return NULL;
out_unlock2:
- put_files_struct(files);
read_unlock(&files->file_lock);
+ put_files_struct(files);
out_unlock:
iput(inode);
out:
prev parent reply other threads:[~2004-04-10 6:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-10 5:51 [PATCH] memory leak in devpts " Kirill Korotaev
2004-04-10 6:11 ` Kirill Korotaev [this message]
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=8110174006.20040410101135@7ka.mipt.ru \
--to=kirillx@7ka.mipt.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.tosatti@cyclades.com \
/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®