netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] net: mctp-serial: Fix for missing tx escapes
@ 2024-08-27  2:07 Matt Johnston
  2024-08-27  2:07 ` [PATCH net 1/2] net: mctp-serial: Add kunit test for next_chunk_len() Matt Johnston
  2024-08-27  2:07 ` [PATCH net 2/2] net: mctp-serial: Fix missing escapes on transmit Matt Johnston
  0 siblings, 2 replies; 6+ messages in thread
From: Matt Johnston @ 2024-08-27  2:07 UTC (permalink / raw)
  To: jk; +Cc: David S. Miller, Jakub Kicinski, Paolo Abeni, Eric Dumazet,
	netdev

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.

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(-)


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-08-29  7:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-27  2:07 [PATCH net 0/2] net: mctp-serial: Fix for missing tx escapes Matt Johnston
2024-08-27  2:07 ` [PATCH net 1/2] net: mctp-serial: Add kunit test for next_chunk_len() Matt Johnston
2024-08-27 23:13   ` kernel test robot
2024-08-29  7:30   ` kernel test robot
2024-08-27  2:07 ` [PATCH net 2/2] net: mctp-serial: Fix missing escapes on transmit Matt Johnston
2024-08-27 11:06   ` Larysa Zaremba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).