On Mon, 6 Mar 2006, Kris Kennaway wrote:
P.S. This comment in netinet6/ip6_output.c appears to be bogus, since RTFREE is only a single statement:if (ro == &ip6route && ro->ro_rt) { /* brace necessary for RTFREE */ RTFREE(ro->ro_rt); } else if (ro_pmtu == &ip6route && ro_pmtu->ro_rt) { RTFREE(ro_pmtu->ro_rt); }
This is because peter fixed RTFREE() 7 years ago in rev.1.29 of route.h. It used not to be wrapped in "do while (0)". It was also fixed in NetBSD 7.5 years ago so there should be few portabilty problems with assuming that it is fixed. NetBSD is missing the style bug in rev.1.29 (indentation of the wrapped code instead of outdentation of the do-while). Bruce _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
