From: Matt Johnston <matt@codeconstruct.com.au>
To: jk@codeconstruct.com.au
Cc: "David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Eric Dumazet <edumazet@google.com>,
netdev@vger.kernel.org
Subject: [PATCH net 0/2] net: mctp-serial: Fix for missing tx escapes
Date: Tue, 27 Aug 2024 10:07:57 +0800 [thread overview]
Message-ID: <20240827020803.957250-1-matt@codeconstruct.com.au> (raw)
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(-)
next reply other threads:[~2024-08-27 2:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-27 2:07 Matt Johnston [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240827020803.957250-1-matt@codeconstruct.com.au \
--to=matt@codeconstruct.com.au \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=jk@codeconstruct.com.au \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).