Messages in this thread Patch in this message | | | Date | Wed, 13 Feb 2002 16:51:52 -0800 (PST) | From | Raghu Angadi <> | Subject | Re: memory corruption in tcp bind hash buckets on SMP? |
| |
--- "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 - 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/
| |