[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240829074355.1327255-1-matt@codeconstruct.com.au>
Date: Thu, 29 Aug 2024 15:43:44 +0800
From: Matt Johnston <matt@...econstruct.com.au>
To: Jeremy Kerr <jk@...econstruct.com.au>
Cc: "David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Eric Dumazet <edumazet@...gle.com>,
netdev@...r.kernel.org
Subject: [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(-)
Powered by blists - more mailing lists