On Wed, Jul 19, 2017 at 10:11:50AM +0300, Moni Shoua wrote: > > How this code can be executed? IB/core ensures that port_num is in range. > > You can remove this check. > > > In this case ah_attr can come from the application and a validity > check is necessary. It is a bug if it comes directly without rdma_is_port_valid() check in the IB/core. Currently modify_qp and create_ah are checking it and ensuring that user won't provide illegal port number. Thanks
Attachment:
signature.asc
Description: PGP signature