From owner-freebsd-current Tue Nov 25 16:32:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA21923 for current-outgoing; Tue, 25 Nov 1997 16:32:58 -0800 (PST) (envelope-from owner-freebsd-current) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA21909 for ; Tue, 25 Nov 1997 16:32:53 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id QAA18722; Tue, 25 Nov 1997 16:32:22 -0800 (PST) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma018720; Tue Nov 25 16:32:15 1997 Received: (from archie@localhost) by bubba.whistle.com (8.8.5/8.6.12) id QAA03552; Tue, 25 Nov 1997 16:32:15 -0800 (PST) From: Archie Cobbs Message-Id: <199711260032.QAA03552@bubba.whistle.com> Subject: Re: tcp/ip buglet ? In-Reply-To: <199711251016.CAA00769@rah.star-gate.com> from Amancio Hasty at "Nov 25, 97 02:16:58 am" To: hasty@rah.star-gate.com (Amancio Hasty) Date: Tue, 25 Nov 1997 16:32:15 -0800 (PST) Cc: mike@smith.net.au, current@freefall.FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > The port and address of addr are 0.... > > The linux layer call is : > > /sys/i386/linux/linux_socket.c:linux_sendto > > I am pretty sure that linux_sendto is correct. Not sure what the problem is here. However, I remember a similar situation once a long time ago and the fix was to make sure that the struct sockaddr_in was completely zeroed and the sa_len field was properly set before doing the bind. FWIW, -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com