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
This commit is contained in:
Mark Johnston 2016-02-12 21:01:53 +00:00
parent baebd3e54f
commit f60d595f34
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295579

View file

@ -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)