aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorMark Zhang <[email protected]>2023-09-27 09:05:11 +0000
committerLeon Romanovsky <[email protected]>2023-10-02 10:10:40 +0000
commite0fe97efdb00f0f32b038a4836406a82886aec9c (patch)
tree0ec9f51072e4222c14d5c58f266e58ded7b58094 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parentRDMA/mlx5: Fix mkey cache possible deadlock on cleanup (diff)
downloadkernel-e0fe97efdb00f0f32b038a4836406a82886aec9c.tar.gz
kernel-e0fe97efdb00f0f32b038a4836406a82886aec9c.zip
RDMA/cma: Initialize ib_sa_multicast structure to 0 when join
Initialize the structure to 0 so that it's fields won't have random values. For example fields like rec.traffic_class (as well as rec.flow_label and rec.sl) is used to generate the user AH through: cma_iboe_join_multicast cma_make_mc_event ib_init_ah_from_mcmember And a random traffic_class causes a random IP DSCP in RoCEv2. Fixes: b5de0c60cc30 ("RDMA/cma: Fix use after free race in roce multicast join") Signed-off-by: Mark Zhang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions