Please correct me if I am wrong,
As long as you are only walking the list and not doing element insertions and deletions SLIST_FOREACH is fine. Only if one is deleting or adding elements while walking the list, one needs to use SLIST_FOREACH_SAFE ?
thanks.
As long as you are only walking the list and not doing element insertions and deletions SLIST_FOREACH is fine. Only if one is deleting or adding elements while walking the list, one needs to use SLIST_FOREACH_SAFE ?
thanks.