+ Michal's comment: explicit setting of ref_cnt = 1 in virt addresses housekeeping + A workaround for (bogus) compiler warning, plus commit text fixes + Michal's comment: variable naming This set of patches cleans up miscellaneous code redundancies in model.c and contains fixes in the following areas: - virtual address housekeeping - checks for model publication removal, i.e., when config pub message has "unassigned" value for publication address - return values discrepancies (few cases where an integer error code is to be returned, but boolean false was returned instead) Inga Stotland (4): mesh: Clean up model.c and cfg-server.c mesh: Fix virtual address processing mesh: Fix and clean up model publication code test: test-mesh - Correctly stop periodic publication mesh/cfgmod-server.c | 47 +++--- mesh/model.c | 366 ++++++++++++++++++------------------------- mesh/model.h | 38 ++--- test/test-mesh | 8 +- 4 files changed, 190 insertions(+), 269 deletions(-) -- 2.21.0