Re: Bug in tcp_v4_hnd_req?

From: David S. Miller (davem@redhat.com)
Date: Wed Sep 26 2001 - 18:39:46 EST


   From: "Ulrich Weigand" <Ulrich.Weigand@de.ibm.com>
   Date: Thu, 27 Sep 2001 01:27:33 +0200

   the following code in tcp_v4_hnd_req looks broken:
   
 ...
             tcp_tw_put((struct tcp_tw_bucket*)sk);
   
   Shouldn't it put *nsk* instead of sk? This appears to be the cause of
   weird crashes under heavy network load we've been experiencing ...

Indeed, you are correct and I've also made the fix for ipv6 in my tree
as it had the same exact problem.

Franks a lot,
David S. Miller
davem@redhat.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/



This archive was generated by hypermail 2b29 : Sun Sep 30 2001 - 21:00:52 EST