summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2016-02-12 21:01:53 +0000
committermarkj <markj@FreeBSD.org>2016-02-12 21:01:53 +0000
commit151140ce44d0ffb4a2d43476e512f32f05c0e07a (patch)
tree398c74aeb3f79c702a08dce9d89b81ec0a5db9e0 /sys/netinet6
parent88e4f89c6dea379d1273bff2d18959a6ceee1f9c (diff)
downloadFreeBSD-src-151140ce44d0ffb4a2d43476e512f32f05c0e07a.zip
FreeBSD-src-151140ce44d0ffb4a2d43476e512f32f05c0e07a.tar.gz
Remove a bogus comment from nd6_na_input().
The splnet() call that it refers to has been removed, and a lock for the default router list is in fact needed. MFC after: 1 week
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/nd6_nbr.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/netinet6/nd6_nbr.c b/sys/netinet6/nd6_nbr.c
index 1cb220d..5369df9 100644
--- a/sys/netinet6/nd6_nbr.c
+++ b/sys/netinet6/nd6_nbr.c
@@ -863,12 +863,6 @@ nd6_na_input(struct mbuf *m, int off, int icmp6len)
in6 = &ln->r_l3addr.addr6;
- /*
- * Lock to protect the default router list.
- * XXX: this might be unnecessary, since this function
- * is only called under the network software interrupt
- * context. However, we keep it just for safety.
- */
nd6_ifp = lltable_get_ifp(ln->lle_tbl);
dr = defrouter_lookup(in6, nd6_ifp);
if (dr)
OpenPOWER on IntegriCloud