[BACK]Return to nd6_rtr.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / netinet6

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/netinet6/nd6_rtr.c between version 1.145 and 1.146

version 1.145, 2019/04/29 11:57:22 version 1.146, 2019/09/25 09:53:38
Line 946  restart:
Line 946  restart:
                 }                  }
                 pserialize_read_exit(s);                  pserialize_read_exit(s);
   
                 KASSERT(pr->ndpr_refcnt == 0);                  KASSERTMSG(pr->ndpr_refcnt == 0, "ndpr_refcnt=%d",
                       pr->ndpr_refcnt);
                 nd6_prelist_remove(pr);                  nd6_prelist_remove(pr);
         }          }
 }  }
Line 1068  nd6_prelist_remove(struct nd_prefix *pr)
Line 1069  nd6_prelist_remove(struct nd_prefix *pr)
         struct in6_ifextra *ext = pr->ndpr_ifp->if_afdata[AF_INET6];          struct in6_ifextra *ext = pr->ndpr_ifp->if_afdata[AF_INET6];
   
         ND6_ASSERT_WLOCK();          ND6_ASSERT_WLOCK();
         KASSERT(pr->ndpr_refcnt == 0);          KASSERTMSG(pr->ndpr_refcnt == 0, "ndpr_refcnt=%d", pr->ndpr_refcnt);
   
         nd6_invalidate_prefix(pr);          nd6_invalidate_prefix(pr);
   

Legend:
Removed from v.1.145  
changed lines
  Added in v.1.146

CVSweb <webmaster@jp.NetBSD.org>