Skip to content

Model publication fixes

Inga Stotland linux-bluetooth 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 of 4 patches 1 replyIn review
  2. v34 patches 2 repliesSuperseded
  3. v24 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches1 replySuperseded

3 of 4 patches are in this archive. The cover letter announces 4.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mesh: Clean up model.c and cfg-server.cmesh/cfgmod-server.c mesh/model.c mesh/model.h+87 -1330 replies
2/4mesh: Fix virtual address processingmesh/model.c mesh/model.h+78 -1010 replies
4/4test: test-mesh - Correctly stop periodic publicationtest/test-mesh+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH BlueZ 0/4 v4] Model publication fixes

+ 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(-)
Signature · 1 line
2.21.0