On Thu, Dec 11, 2014 at 11:44:44AM +0300, Andrey V. Elsukov wrote: > On 11.12.2014 03:41, Mark Johnston wrote: > > Author: markj > > Date: Thu Dec 11 00:41:54 2014 > > New Revision: 275695 > > URL: https://svnweb.freebsd.org/changeset/base/275695 > > > > Log: > > Fix a bug in r266857: nd6_dad_find() must return NULL if it doesn't find > > a matching element in the DAD queue. > > If there was no matching element, TAILQ_FOREACH will stop the loop with > dp == NULL. If there is bug somewhere, it isn't here.
You're right - sorry for the noise. :( I somehow managed to convince myself that TAILQ_FOREACH() wouldn't set dp to NULL at end of a non-empty list. I'll revert the change now. _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"