From 412d26ccb7774964b2f665cbe128b0cb6614a167 Mon Sep 17 00:00:00 2001 From: yang-jingbo1985 Date: Tue, 11 Jun 2024 21:38:45 +0800 Subject: [PATCH] fixed e976e70 from https://gitee.com/yang-jingbo1985/kernel_linux_5.10/pulls/1444 update connection_handshake_recv logic Signed-off-by: yangjingbo10 --- fs/hmdfs/comm/connection.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/fs/hmdfs/comm/connection.c b/fs/hmdfs/comm/connection.c index 046688747d83..44a4cb93354f 100644 --- a/fs/hmdfs/comm/connection.c +++ b/fs/hmdfs/comm/connection.c @@ -640,11 +640,6 @@ void connection_handshake_recv_handler(struct connection *conn_impl, void *buf, hmdfs_info( "Recved handshake response: device_id = %llu, cmd->status = %hhu, tcp->fd = %d", conn_impl->node->device_id, status, fd); - if (status == CONNECT_STAT_WAIT_REQUEST) { - // must be 10.1 device, no need to set ktls - connection_to_working(conn_impl->node); - goto out; - } ret = hs_proc_msg_data(conn_impl, ops, data, data_len); if (ret) -- Gitee