Skip to content

Commit 1f89ec6

Browse files
author
CKI KWF Bot
committed
Merge: net/smc: Remove validation of reserved bits in CLC Decline message
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/1705 JIRA: https://issues.redhat.com/browse/RHEL-124196 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 7221481 + 739f024 commit 1f89ec6

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
@@ -416,8 +416,6 @@ smc_clc_msg_decl_valid(struct smc_clc_msg_decline *dclc)
416416
{
417417
struct smc_clc_msg_hdr *hdr = &dclc->hdr;
418418

419-
if (hdr->typev1 != SMC_TYPE_R && hdr->typev1 != SMC_TYPE_D)
420-
return false;
421419
if (hdr->version == SMC_V1) {
422420
if (ntohs(hdr->length) != sizeof(struct smc_clc_msg_decline))
423421
return false;

0 commit comments

Comments
 (0)