Skip to content

Code re-org and clean up

Inga Stotland linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mesh: Use static array to hold config server responsemesh/cfgmod-server.c+16 -370 replies
2/3mesh: Add size checks for every opcode in config servermesh/cfgmod-server.c+37 -90 replies
3/3mesh: move model functionality out of node.c to model.cmesh/cfgmod.h mesh/mesh-config-json.c mesh/model.c +2 more+350 -3360 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH BlueZ 0/3] Code re-org and clean up

This patch set is part of the on-going clean up effort that targets some of more convoluted areas of meshd source code.
The patchset provides better functional separation, smaller function granularity and better memory handling.

Inga Stotland (3):
mesh: Use static array to hold config server response
mesh: Add size checks for every opcode in config server
mesh: move model functionality out of node.c to model.c

 mesh/cfgmod-server.c    |  99 ++++++-----
 mesh/cfgmod.h           |   4 +-
 mesh/mesh-config-json.c |   5 +-
 mesh/model.c            | 359 +++++++++++++++++++++++++++++++++-------
 mesh/model.h            |  32 ++--
 mesh/node.c             | 286 ++++----------------------------
 6 files changed, 403 insertions(+), 382 deletions(-)
Signature · 1 line
2.26.2