Date: Fri, 12 Feb 2016 21:01:53 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r295579 - head/sys/netinet6 Message-ID: <201602122101.u1CL1rmN035735@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Fri Feb 12 21:01:53 2016 New Revision: 295579 URL: https://svnweb.freebsd.org/changeset/base/295579 Log: 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 Modified: head/sys/netinet6/nd6_nbr.c Modified: head/sys/netinet6/nd6_nbr.c ============================================================================== --- head/sys/netinet6/nd6_nbr.c Fri Feb 12 20:55:22 2016 (r295578) +++ head/sys/netinet6/nd6_nbr.c Fri Feb 12 21:01:53 2016 (r295579) @@ -863,12 +863,6 @@ nd6_na_input(struct mbuf *m, int off, in 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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602122101.u1CL1rmN035735>