aboutsummaryrefslogtreecommitdiffstats
path: root/net/mctp/af_mctp.c
diff options
context:
space:
mode:
authorMahanta Jambigi <[email protected]>2025-09-02 08:20:41 +0000
committerJakub Kicinski <[email protected]>2025-09-04 00:01:07 +0000
commitcc282f73bc0cbdf3ee7af2f2d3a2ef4e6b19242d (patch)
tree17e69e88a7af920b5b2c9bf32234f11fe3846402 /net/mctp/af_mctp.c
parentipv4: Fix NULL vs error pointer check in inet_blackhole_dev_init() (diff)
downloadkernel-cc282f73bc0cbdf3ee7af2f2d3a2ef4e6b19242d.tar.gz
kernel-cc282f73bc0cbdf3ee7af2f2d3a2ef4e6b19242d.zip
net/smc: Remove validation of reserved bits in CLC Decline message
Currently SMC code is validating the reserved bits while parsing the incoming CLC decline message & when this validation fails, its treated as a protocol error. As a result, the SMC connection is terminated instead of falling back to TCP. As per RFC7609[1] specs we shouldn't be validating the reserved bits that is part of CLC message. This patch fixes this issue. CLC Decline message format can viewed here[2]. [1] https://datatracker.ietf.org/doc/html/rfc7609#page-92 [2] https://datatracker.ietf.org/doc/html/rfc7609#page-105 Fixes: 8ade200c269f ("net/smc: add v2 format of CLC decline message") Signed-off-by: Mahanta Jambigi <[email protected]> Reviewed-by: Sidraya Jayagond <[email protected]> Reviewed-by: Alexandra Winter <[email protected]> Reviewed-by: Dust Li <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/mctp/af_mctp.c')
0 files changed, 0 insertions, 0 deletions