Re: Bug with FIONREAD for TCP?

From: David S. Miller (davem@redhat.com)
Date: Wed Apr 12 2000 - 20:08:14 EST


   From: kuznet@ms2.inr.ac.ru
   Date: Tue, 11 Apr 2000 22:28:54 +0400 (MSK DST)

> I've been using this technique for nearly 10 years, and FIONREAD has
> always yielded 0 bytes readable on close

   Please, check this.

   --- ../vger3-000409/linux/net/ipv4/tcp.c Sun Apr 9 18:45:19 2000
   +++ linux/net/ipv4/tcp.c Tue Apr 11 21:43:40 2000
   @@ -583,9 +583,13 @@

Thanks, patch applied.

Later,
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.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:20 EST