Skip to content

net: mctp-serial: Fix for missing tx escapes

Matt Johnston netdev stable 2 versions – Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesApplied 2/2
  2. v12 patches 1 replySuperseded

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: mctp-serial: Add kunit test for next_chunk_len()drivers/net/mctp/Kconfig drivers/net/mctp/mctp-serial.c+114 -00 repliesApplied
2/2net: mctp-serial: Fix missing escapes on transmitdrivers/net/mctp/mctp-serial.c+2 -20 repliesApplied

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH net v2 0/2] net: mctp-serial: Fix for missing tx escapes

The mctp-serial code to add escape characters was incorrect due to an off-by-one error. This series adds a test for the chunking which splits by escape characters, and fixes the bug.

v2: Fix kunit param const pointer

Matt Johnston (2):
net: mctp-serial: Add kunit test for next_chunk_len()
net: mctp-serial: Fix missing escapes on transmit

 drivers/net/mctp/Kconfig       |   5 ++
 drivers/net/mctp/mctp-serial.c | 113 ++++++++++++++++++++++++++++++++-
 2 files changed, 116 insertions(+), 2 deletions(-)