diff options
author | Zhengchao Shao <[email protected]> | 2024-07-30 09:25:05 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-07-31 11:48:58 +0100 |
commit | d37307eaac13f3c5fe912787b5f9facbc574f2cf (patch) | |
tree | 62f7df6eabc832ffb10da160911cf3aaa51a33e9 /tools/testing/selftests/bpf/progs/test_prog_array_init.c | |
parent | 5a79575711264b98b435e08107c9e5bf129df210 (diff) |
net/smc: remove redundant code in smc_connect_check_aclc
When the SMC client perform CLC handshake, it will check whether
the clc header type is correct in receiving SMC_CLC_ACCEPT packet.
The specific invoking path is as follows:
__smc_connect
smc_connect_clc
smc_clc_wait_msg
smc_clc_msg_hdr_valid
smc_clc_msg_acc_conf_valid
Therefore, the smc_connect_check_aclc interface invoked by
__smc_connect does not need to check type again.
Signed-off-by: Zhengchao Shao <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions