[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240827020803.957250-1-matt@codeconstruct.com.au>
Date: Tue, 27 Aug 2024 10:07:57 +0800
From: Matt Johnston <matt@...econstruct.com.au>
To: 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 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.
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