From: kn Date: Thu, 28 Jul 2022 13:10:37 +0000 (+0000) Subject: Zap outdated nd6_free() comment about static X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b8a3baa4fd0496b64ea6578f011d2d908ca022e1;p=openbsd Zap outdated nd6_free() comment about static Added in 2002 r1.48 "sync with latest KAME [...]" along the attribute, but nd6_free() became a global void function in 2017 r1.212. Afaik static kernel functions are avoided to aid ddb'ugging and I presume the "significant changes in the kernel" bits of the comment stem from something 20 years ago no longer holding true today. Afterall, this change has been safe for five years. OK claudio --- diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c index 45e8f462658..2dbfa1ab866 100644 --- a/sys/netinet6/nd6.c +++ b/sys/netinet6/nd6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nd6.c,v 1.241 2022/07/22 20:29:27 kn Exp $ */ +/* $OpenBSD: nd6.c,v 1.242 2022/07/28 13:10:37 kn Exp $ */ /* $KAME: nd6.c,v 1.280 2002/06/08 19:52:07 itojun Exp $ */ /* @@ -701,9 +701,6 @@ nd6_invalidate(struct rtentry *rt) /* * Free an nd6 llinfo entry. - * Since the function would cause significant changes in the kernel, DO NOT - * make it global, unless you have a strong reason for the change, and are sure - * that the change is safe. */ void nd6_free(struct rtentry *rt)