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)
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to