OpenWrt Forum Archive

Topic: [procd] What's the purpose of vlist_flush() in func service_update()

The content of this topic has been archived on 21 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

There are vlist_update() and vlist_flush() operations in the function of service_update(). vlist_update() looks resonable, what's the purpose of vlist_flush()? Can it be removed? Recently we find an issue, and deleting vlist_flush() can fix it.

in $srcroot/service/serivce.c ?

Whether vlist_update() and vlist_flush() can be deleted in service_update()?

The discussion might have continued from here.