From owner-freebsd-java@FreeBSD.ORG Sat Aug 20 23:58:52 2011 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E655106564A for ; Sat, 20 Aug 2011 23:58:52 +0000 (UTC) (envelope-from prvs=12137168ef=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 8E9E48FC08; Sat, 20 Aug 2011 23:58:51 +0000 (UTC) X-MDAV-Processed: mail1.multiplay.co.uk, Sun, 21 Aug 2011 00:47:19 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Sun, 21 Aug 2011 00:47:19 +0100 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail1.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-5.0 required=6.0 tests=USER_IN_WHITELIST shortcircuit=ham autolearn=disabled version=3.2.5 Received: from r2d2 ([188.220.16.49]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50014678297.msg; Sun, 21 Aug 2011 00:47:19 +0100 X-MDRemoteIP: 188.220.16.49 X-Return-Path: prvs=12137168ef=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk Message-ID: <35F287D35661432CB3821B7A4FEBBB0D@multiplay.co.uk> From: "Steven Hartland" To: "Garrett Wollman" , , References: <20048.15888.402674.836232@khavrinen.csail.mit.edu> Date: Sun, 21 Aug 2011 00:48:15 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 Cc: Subject: Re: Why doesn't UDP work for ICSI Netalyzr in INET6 kernels? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2011 23:58:52 -0000 Do you have the following ipv6 udp patch in your kernel? --- sys/netinet6/udp6_usrreq.c.orig 2010-12-21 17:09:25.000000000 +0000 +++ sys/netinet6/udp6_usrreq.c 2011-06-25 15:44:22.050847587 +0000 @@ -1044,18 +1044,6 @@ if (hasv4addr) { struct pr_usrreqs *pru; - if (!IN6_IS_ADDR_UNSPECIFIED(&inp->in6p_laddr) && - !IN6_IS_ADDR_V4MAPPED(&inp->in6p_laddr)) { - /* - * When remote addr is IPv4-mapped address, - * local addr should not be an IPv6 address; - * since you cannot determine how to map IPv6 - * source address to IPv4. - */ - error = EINVAL; - goto out; - } - /* * XXXRW: We release UDP-layer locks before calling * udp_send() in order to avoid recursion. However, @@ -1079,7 +1067,7 @@ mac_inpcb_create_mbuf(inp, m); #endif error = udp6_output(inp, m, addr, control, td); -out: + INP_WUNLOCK(inp); INP_INFO_WUNLOCK(&V_udbinfo); return (error); If not apply it, rebuild and reinstall the kernel and it will likely fix the issue your seeing. Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.