diff options
author | Klemens Nanni <kn@cvs.openbsd.org> | 2022-07-28 13:10:38 +0000 |
---|---|---|
committer | Klemens Nanni <kn@cvs.openbsd.org> | 2022-07-28 13:10:38 +0000 |
commit | 131e27b4c68af8ff9da514b6964250e750ab2209 (patch) | |
tree | aed67a06249f243d8e140ef842a9d02804476e27 /sys | |
parent | 1a518bca505e0999d85999c918417f5291fe1f5c (diff) |
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
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet6/nd6.c | 5 |
1 files changed, 1 insertions, 4 deletions
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) |