Skip to content

Commit 5696c2d

Browse files
author
CKI KWF Bot
committed
Merge: net/smc: Remove validation of reserved bits in CLC Decline msg
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/7550 JIRA: https://issues.redhat.com/browse/RHEL-124197 commit cc282f7 Signed-off-by: Mete Durlu <mdurlu@redhat.com> Approved-by: Steve Best <sbest@redhat.com> Approved-by: Tony Camuso <tcamuso@redhat.com> Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com> Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
2 parents ccfe97b + 98c2aca commit 5696c2d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

net/smc/smc_clc.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,8 +426,6 @@ smc_clc_msg_decl_valid(struct smc_clc_msg_decline *dclc)
426426
{
427427
struct smc_clc_msg_hdr *hdr = &dclc->hdr;
428428

429-
if (hdr->typev1 != SMC_TYPE_R && hdr->typev1 != SMC_TYPE_D)
430-
return false;
431429
if (hdr->version == SMC_V1) {
432430
if (ntohs(hdr->length) != sizeof(struct smc_clc_msg_decline))
433431
return false;

0 commit comments

Comments
 (0)