Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262142AbUCaRWY (ORCPT ); Wed, 31 Mar 2004 12:22:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262213AbUCaRUU (ORCPT ); Wed, 31 Mar 2004 12:20:20 -0500 Received: from fw.osdl.org ([65.172.181.6]:13799 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S262142AbUCaRQ4 (ORCPT ); Wed, 31 Mar 2004 12:16:56 -0500 Date: Wed, 31 Mar 2004 09:16:46 -0800 From: Stephen Hemminger To: "Richard B. Johnson" Cc: linux-kernel@vger.kernel.org Subject: Re: Powers-of-two - 7 for recv() length?? Message-Id: <20040331091646.4b1e0e70@dell_ss3.pdx.osdl.net> In-Reply-To: References: Organization: Open Source Development Lab X-Mailer: Sylpheed version 0.9.9claws (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 539 Lines: 9 What is the socket send/receive buffering, and the underlying network. You need to look at the data flow with something like tcpdump and tcptrace. If you get flow controlled or lots of other reasons, TCP will validly send a small number of bytes (like 1) which will get things out of alignment. - 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/