Why doesn't UDP work for ICSI Netalyzr in INET6 kernels?

Steven Hartland killing at multiplay.co.uk
Sat Aug 20 23:58:52 UTC 2011


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 at multiplay.co.uk.



More information about the freebsd-java mailing list