Index: ip6_output.c =================================================================== RCS file: /home/ncvs/src/sys/netinet6/ip6_output.c,v retrieving revision 1.84 diff -u -r1.84 ip6_output.c --- ip6_output.c 29 Sep 2004 04:54:33 -0000 1.84 +++ ip6_output.c 1 Oct 2004 03:59:39 -0000 @@ -1048,12 +1048,24 @@ if (mtu > IPV6_MAXPACKET) mtu = IPV6_MAXPACKET; +#if 0 + /* + * It is believed this code is a leftover from the + * development of the IPV6_RECVPATHMTU sockopt and + * associated work to implement rfc2292bis / RFC3542. + * Its not entirely clear what the intent of the API + * is at this point, so disable this code for now. + * The IPV6_RECVPATHMTU sockopt and/or IPV6_DONTFRAG + * will send notifications if the application requests. + */ + /* Notify a proper path MTU to applications. */ mtu32 = (u_int32_t)mtu; bzero(&ip6cp, sizeof(ip6cp)); ip6cp.ip6c_cmdarg = (void *)&mtu32; pfctlinput2(PRC_MSGSIZE, (struct sockaddr *)&ro_pmtu->ro_dst, (void *)&ip6cp); +#endif len = (mtu - hlen - sizeof(struct ip6_frag)) & ~7; if (len < 8) {