mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Raghu Angadi <raghuangadi@yahoo.com>
To: "David S. Miller" <davem@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: memory corruption in tcp bind hash buckets on SMP?
Date: Wed, 13 Feb 2002 16:51:52 -0800 (PST)	[thread overview]
Message-ID: <20020214005152.91108.qmail@web12306.mail.yahoo.com> (raw)
In-Reply-To: <20020212.221726.34760851.davem@redhat.com>


--- "David S. Miller" <davem@redhat.com> wrote:
> 
> This bug is fixed in the 2.4.9 Red Hat 7.2 errata kernels.

Thanks, Is the following diff the only culprit/fix?

--- linux-2.4.7-10/net/ipv4/tcp_ipv4.c      Wed Feb 13 16:50:00 2002
+++ linux-2.4.9-21/net/ipv4/tcp_ipv4.c  Thu Jan 17 10:03:28 2002
@@ -1484,11 +1484,11 @@
        if (nsk) {
                if (nsk->state != TCP_TIME_WAIT) {
                        bh_lock_sock(nsk);
                        return nsk;
                }
-               tcp_tw_put((struct tcp_tw_bucket*)sk);
+               tcp_tw_put((struct tcp_tw_bucket*)nsk);
                return NULL;
        }
 

Raghu.

__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

  reply	other threads:[~2002-02-14  0:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-13  6:05 Raghu Angadi
2002-02-13  6:17 ` David S. Miller
2002-02-14  0:51   ` Raghu Angadi [this message]
2002-02-14  3:07   ` David S. Miller
2002-02-21  4:16     ` Raghu Angadi
2002-02-23  7:24     ` Raghu Angadi
2002-03-04 20:48 Fw: " Raghu Angadi
2002-03-01 19:07 ` kuznet
2002-03-04 23:26   ` David S. Miller
2002-03-05  0:54     ` Raghu Angadi
2002-03-05  4:30     ` David S. Miller

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=20020214005152.91108.qmail@web12306.mail.yahoo.com \
    --to=raghuangadi@yahoo.com \
    --cc=davem@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /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®