aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorMark Zhang <[email protected]>2023-04-20 04:39:06 +0300
committerJason Gunthorpe <[email protected]>2023-04-21 12:36:47 -0300
commit746aa3c8cb1a650ff2583497ac646e505831b9b9 (patch)
treee58f26b6e72df0377815df85f26ba8003cdbff30 /lib/test_fortify/write_overflow-strncpy-src.c
parent109205b40afbddd01baff796c627c5be3d804ef9 (diff)
RDMA/mlx5: Use correct device num_ports when modify DC
Just like other QP types, when modify DC, the port_num should be compared with dev->num_ports, instead of HCA_CAP.num_ports. Otherwise Multi-port vHCA on DC may not work. Fixes: 776a3906b692 ("IB/mlx5: Add support for DC target QP") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Zhang <[email protected]> Reviewed-by: Maor Gottlieb <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions