Author: markj
Date: Thu Feb 18 00:00:51 2016
New Revision: 295732
URL: https://svnweb.freebsd.org/changeset/base/295732

Log:
  Release the ref acquired in nd6_dad_find() if DAD is already in progress.
  
  MFC after:    1 week

Modified:
  head/sys/netinet6/nd6_nbr.c

Modified: head/sys/netinet6/nd6_nbr.c
==============================================================================
--- head/sys/netinet6/nd6_nbr.c Thu Feb 18 00:00:36 2016        (r295731)
+++ head/sys/netinet6/nd6_nbr.c Thu Feb 18 00:00:51 2016        (r295732)
@@ -1262,9 +1262,10 @@ nd6_dad_start(struct ifaddr *ifa, int de
        }
        if ((dp = nd6_dad_find(ifa, NULL)) != NULL) {
                /*
-                * DAD already in progress.  Let the existing entry
-                * to finish it.
+                * DAD is already in progress.  Let the existing entry
+                * finish it.
                 */
+               nd6_dad_rele(dp);
                return;
        }
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to