From owner-freebsd-current Tue Nov 25 02:17:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA02622 for current-outgoing; Tue, 25 Nov 1997 02:17:08 -0800 (PST) (envelope-from owner-freebsd-current) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA02614 for ; Tue, 25 Nov 1997 02:17:04 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.5) with ESMTP id CAA00769; Tue, 25 Nov 1997 02:16:59 -0800 (PST) Message-Id: <199711251016.CAA00769@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Mike Smith cc: current@freefall.FreeBSD.org Subject: Re: tcp/ip buglet ? In-reply-to: Your message of "Tue, 25 Nov 1997 19:09:12 +1030." <199711250839.TAA01011@word.smith.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 25 Nov 1997 02:16:58 -0800 From: Amancio Hasty Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk udp_output(inp, m, addr, control, p) struct inpcb *inp; struct mbuf *m; struct sockaddr *addr; struct mbuf *control; struct proc *p; { struct udpiphdr *ui; int len = m->m_pkthdr.len; struct in_addr laddr; struct sockaddr_in * fuck; int s = 0, error = 0; if (control) m_freem(control); /* XXX */ if (len + sizeof(struct udpiphdr) > IP_MAXPACKET) { error = EMSGSIZE; goto release; } if (addr) { laddr = inp->inp_laddr; if (inp->inp_faddr.s_addr != INADDR_ANY) { error = EISCONN; goto release; } /* * Must block input while temporarily connected. */ s = splnet(); error = in_pcbconnect(inp, addr, p); 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. Cheers, Amancio