diff options
| author | Jang Ingyu <ingyujang25@korea.ac.kr> | 2025-12-19 13:15:08 +0900 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2025-12-21 04:19:51 -0500 |
| commit | 8aaa848eaddd9ef8680fc6aafbd3a0646da5df40 (patch) | |
| tree | 2ee247cdafff4b0501871fe3da6bdb58c2923244 /rust/kernel | |
| parent | 85463eb6a46caf2f1e0e1a6d0731f2f3bab17780 (diff) | |
RDMA/core: Fix logic error in ib_get_gids_from_rdma_hdr()
Fix missing comparison operator for RDMA_NETWORK_ROCE_V1 in the
conditional statement. The constant was used directly instead of
being compared with net_type, causing the condition to always
evaluate to true.
Fixes: 1c15b4f2a42f ("RDMA/core: Modify enum ib_gid_type and enum rdma_network_type")
Signed-off-by: Jang Ingyu <ingyujang25@korea.ac.kr>
Link: https://patch.msgid.link/20251219041508.1725947-1-ingyujang25@korea.ac.kr
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions
