mptcp: options: avoid printing uninit data
Get series with b4
b4 am [email protected] change-id 20260908-mptcp-opt-read-debug-d818ab97c05eVersions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mptcp: options: mpc: avoid printing uninit datanet/ | +5 | 0 replies | |
| 2/2 | mptcp: options: dss: avoid printing uninit csumnet/ | +1 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Mat Martineau |
|---|---|
| Series | R-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH mptcp-net 0/2] mptcp: options: avoid printing uninit data
When parsing the MPTCP suboptions, some pr_debug() might read and print uninit values.
That's mostly harmless, but that's also confusing. Fixing that also avoids some tools to complain about accessing unint data.
So read these fields only if they have been set.
Signed-off-by Matthieu Baerts (NGI0) <[email protected]>
---
Matthieu Baerts (NGI0) (2):
mptcp: options: mpc: avoid printing uninit data
mptcp: options: dss: avoid printing uninit csum
net/mptcp/options.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
---
base-commit: a59eb98e30b7db5fa1cc7cd5343ad387bced3ae0
change-id: 20260908-mptcp-opt-read-debug-d818ab97c05e
Best regards,
Signature · 1 line
Matthieu Baerts (NGI0) <[email protected]>