svn commit: r295579 - head/sys/netinet6

Mark Johnston markj at FreeBSD.org
Fri Feb 12 21:01:54 UTC 2016


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)


More information about the svn-src-head mailing list