mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-20 08:44:33 +00:00
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:
parent
baebd3e54f
commit
f60d595f34
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295579
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue