diff options
| author | Matthieu Baerts (NGI0) <matttbe@kernel.org> | 2026-10-13 19:56:39 +0200 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-10-20 11:06:11 +0200 |
| commit | 00e2690c9dad0e09cd2a4435b98de6d8efd5fbc2 (patch) | |
| tree | 9076ed8830a1b9c23c7a1e9fb33c3acf1fd0ff04 /tools/lib/python | |
| parent | a234ee8eb9a20d1a272f0d2ceabdb35165071778 (diff) | |
mptcp: options: dss: avoid printing uninit csum
When parsing the DSS suboption, this pr_debug() might read and print
uninitialised checksum value.
That's mostly harmless, but that's also confusing. Fixing that also
avoids some tools to complain about accessing uninit data.
So read this csum field only if it has been set.
Note: this was initially reported by Clashiko as an existing issue. The
code has been analysed by a human and confirmed. This is a non-urgent
fix.
Fixes: 390b95a5fb84 ("mptcp: receive checksum for DSS")
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20261013-net-next-mptcp-misc-feat-7-4-part2-v1-2-1181e5d2fda4@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
