Re: Bug with FIONREAD for TCP?

David S. Miller (davem@redhat.com)
Wed, 12 Apr 2000 18:08:14 -0700


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/